p *allProcs
$46 = {links = {prev = 0x0, next = 0x0}, procgloballist = 0x7f1b6135fd98, sem = {semId = 524288, semNum = 0}, waitStatus = 0, procLatch = {is_set = 0, is_shared = 1 '\001', owner_pid = 0}, lxid = 0, pid = 0, pgprocno = 0, backendId = 0, databaseId = 0, roleId = 0, recoveryConflictPending = 0 '\000', lwWaiting = 0 '\000', lwWaitMode = 0 '\000', lwWaitLink = {prev = 0x0, next = 0x0}, waitLock = 0x0, waitProcLock = 0x0, waitLockMode = 0, heldLocks = 0, waitLSN = 0, syncRepState = 0, syncRepLinks = {prev = 0x0, next = 0x0}, myProcLocks = {{prev = 0x7f1b6135fe98, next = 0x7f1b6135fe98}, {prev = 0x7f1b6135fea8,next = 0x7f1b6135fea8}, {prev = 0x7f1b6135feb8, next = 0x7f1b6135feb8}, {prev = 0x7f1b6135fec8, next = 0x7f1b6135fec8}, {prev = 0x7f1b6135fed8, next = 0x7f1b6135fed8}, {prev = 0x7f1b6135fee8, next = 0x7f1b6135fee8}, {prev = 0x7f1b6135fef8, next = 0x7f1b6135fef8}, {prev = 0x7f1b6135ff08, next = 0x7f1b6135ff08}, {prev = 0x7f1b6135ff18, next = 0x7f1b6135ff18}, {prev = 0x7f1b6135ff28, next = 0x7f1b6135ff28}, {prev = 0x7f1b6135ff38, next = 0x7f1b6135ff38}, {prev = 0x7f1b6135ff48, next = 0x7f1b6135ff48}, {prev = 0x7f1b6135ff58, next = 0x7f1b6135ff58}, {prev = 0x7f1b6135ff68, next = 0x7f1b6135ff68}, {prev = 0x7f1b6135ff78, next = 0x7f1b6135ff78}, {prev = 0x7f1b6135ff88, next = 0x7f1b6135ff88}}, subxids = {xids = {0}}, procArrayGroupMember = 0 '\000', procArrayGroupNext = {value = 0}, procArrayGroupMemberXid = 0, wait_event_info = 0, backendLock = {tranche = 13, state = {value = 536870912}, waiters = {head = {prev = 0x7f1b613600b0, next = 0x7f1b613600b0}}}, fpLockBits = 0, fpRelId = {0 }, fpVXIDLock = 0 '\000', fpLocalTransactionId = 0, lockGroupLeader = 0x0, lockGroupMembers = { head = {prev = 0x7f1b61360118, next = 0x7f1b61360118}}, lockGroupLink = {prev = 0x0, next = 0x0}}
PgXact
每个进程里只能存在一个事物