libpq/replicate.c:      MyProc->replicationId=atol(id);
libpq/replicate.c:	int			myHeldLocks = MyProc->heldLocks;
libpq/replicate.c:	SHMQueueInsertBefore(&(proc->links), &(MyProc->links));
libpq/replicate.c:	MyProc->waitLock = lock;
libpq/replicate.c:	MyProc->waitHolder = holder;
libpq/replicate.c:	MyProc->waitLockMode = lockmode;
libpq/replicate.c:	MyProc->errType = STATUS_OK;	/* initialize result for success */
access/transam/varsup.c:	 * Must set MyProc->xid before releasing XidGenLock.  This ensures
access/transam/varsup.c:		MyProc->xid = xid;
access/transam/xact.c:	MyProc->logRec.xrecoff = 0;
access/transam/xact.c:	MyProc->logRec.xrecoff = 0;
access/transam/xact.c:		MyProc->xid = InvalidTransactionId;
access/transam/xact.c:		MyProc->xmin = InvalidTransactionId;
access/transam/xact.c:		MyProc->xid = InvalidTransactionId;
access/transam/xact.c:		MyProc->xmin = InvalidTransactionId;
access/transam/xlog.c:		MyProc->logRec = RecPtr;
storage/ipc/sinval.c:	 * If we are going to set MyProc->xmin then we'd better get exclusive
storage/ipc/sinval.c:		MyProc->xmin = xmin;
storage/ipc/sinval.c:	Assert(TransactionIdIsValid(MyProc->xmin));
storage/lmgr/lock.c:		SHMQueueInsertBefore(&MyProc->procHolders, &proclock->procLink);
storage/lmgr/lock.c:			MyProc->heldLocks = heldLocks;
storage/lmgr/lock.c: * Caller must have set MyProc->heldLocks to reflect locks already held
storage/lmgr/proc.c:		procglobal->freeProcs = MyProc->links.next;
storage/lmgr/proc.c:	SHMQueueElemInit(&(MyProc->links));
storage/lmgr/proc.c:	MyProc->errType = STATUS_OK;
storage/lmgr/proc.c:	MyProc->xid = InvalidTransactionId;
storage/lmgr/proc.c:	MyProc->xmin = InvalidTransactionId;
storage/lmgr/proc.c:	MyProc->pid = MyProcPid;
storage/lmgr/proc.c:	MyProc->databaseId = MyDatabaseId;
storage/lmgr/proc.c:	MyProc->logRec.xrecoff = 0;
storage/lmgr/proc.c:	MyProc->lwWaiting = false;
storage/lmgr/proc.c:	MyProc->lwExclusive = false;
storage/lmgr/proc.c:	MyProc->lwWaitLink = NULL;
storage/lmgr/proc.c:	MyProc->waitLock = NULL;
storage/lmgr/proc.c:	MyProc->waitHolder = NULL;
storage/lmgr/proc.c:	MyProc->replicationId = 0;
storage/lmgr/proc.c:	SHMQueueInit(&(MyProc->procHolders));
storage/lmgr/proc.c:	PGSemaphoreReset(&MyProc->sem);
storage/lmgr/proc.c:	 * Initialize all fields of MyProc, except MyProc->sem which was set
storage/lmgr/proc.c:	MyProc->pid = MyProcPid;	/* marks DummyProc as in use by me */
storage/lmgr/proc.c:	SHMQueueElemInit(&(MyProc->links));
storage/lmgr/proc.c:	MyProc->errType = STATUS_OK;
storage/lmgr/proc.c:	MyProc->xid = InvalidTransactionId;
storage/lmgr/proc.c:	MyProc->xmin = InvalidTransactionId;
storage/lmgr/proc.c:	MyProc->databaseId = MyDatabaseId;
storage/lmgr/proc.c:	MyProc->logRec.xrecoff = 0;
storage/lmgr/proc.c:	MyProc->lwWaiting = false;
storage/lmgr/proc.c:	MyProc->lwExclusive = false;
storage/lmgr/proc.c:	MyProc->lwWaitLink = NULL;
storage/lmgr/proc.c:	MyProc->waitLock = NULL;
storage/lmgr/proc.c:	MyProc->waitHolder = NULL;
storage/lmgr/proc.c:	MyProc->replicationId=0;
storage/lmgr/proc.c:	SHMQueueInit(&(MyProc->procHolders));
storage/lmgr/proc.c:	PGSemaphoreReset(&MyProc->sem);
storage/lmgr/proc.c:	if (MyProc->links.next != INVALID_OFFSET)
storage/lmgr/proc.c:	PGSemaphoreReset(&MyProc->sem);
storage/lmgr/proc.c:	MyProc->links.next = procglobal->freeProcs;
storage/lmgr/proc.c:	MyProc->pid = 0;
storage/lmgr/proc.c: * Caller must have set MyProc->heldLocks to reflect locks already held
storage/lmgr/proc.c:	int			myHeldLocks = MyProc->heldLocks;
storage/lmgr/proc.c:				   (MyProc->replicationId > proc->replicationId &&
storage/lmgr/proc.c:	elog(DEBUG1,"origin's RId = %d , MyProc->RId = %d , skip",proc->replicationId,MyProc->replicationId);
storage/lmgr/proc.c:	elog(DEBUG1,"origin's RId = %d , MyProc->RId = %d",proc->replicationId,MyProc->replicationId);
storage/lmgr/proc.c:	       MyProc->replicationId > proc->replicationId) {
storage/lmgr/proc.c:	SHMQueueInsertBefore(&(proc->links), &(MyProc->links));
storage/lmgr/proc.c:	MyProc->waitLock = lock;
storage/lmgr/proc.c:	MyProc->waitHolder = proclock;
storage/lmgr/proc.c:	MyProc->waitLockMode = lockmode;
storage/lmgr/proc.c:	MyProc->errType = STATUS_OK;	/* initialize result for success */
storage/lmgr/proc.c:		MyProc->errType = STATUS_ERROR;
storage/lmgr/proc.c:	 * semaphore and sets MyProc->errType = STATUS_ERROR, allowing us to
storage/lmgr/proc.c:	PGSemaphoreLock(&MyProc->sem, true);
storage/lmgr/proc.c:	return MyProc->errType;
storage/lmgr/proc.c:	if (MyProc->links.prev == INVALID_OFFSET ||
storage/lmgr/proc.c:		MyProc->links.next == INVALID_OFFSET)
storage/lmgr/proc.c:	 * Set MyProc->errType to STATUS_ERROR so that ProcSleep will report
storage/lmgr/proc.c:	MyProc->errType = STATUS_ERROR;
storage/lmgr/proc.c:	PGSemaphoreUnlock(&MyProc->sem);
storage/lmgr/proc.c:	PGSemaphoreLock(&MyProc->sem, true);
storage/lmgr/proc.c:	PGSemaphoreReset(&MyProc->sem);
utils/time/tqual.c: * MyProc->xid in PGPROC array.  That fixes that problem, but it also
