1. xact.c: update comments about changing MyProc->xid and MyProc->xmin.
Vadim B. Mikheev <vadim4o@yahoo.com>
1. xact.c: update comments about changing MyProc->xid and MyProc->xmin. 2. varsup.c:ReadNewTransactionId(): don't read nextXid from disk - this func doesn't allocate next xid, so ShmemVariableCache->nextXid may be used (but GetNewTransactionId() must be called first). 3. vacuum.c: change elog(ERROR, "Child item....") to elog(NOTICE) - this is not ERROR, proper handling is just not implemented, yet. 4. s_lock.c: increase S_MAX_BUSY by 2 times. 5. shmem.c:GetSnapshotData(): have to call ReadNewTransactionId() _after_ SpinAcquire(ShmemIndexLock).
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/varsup.c | modified | +8 −11 |
| src/backend/access/transam/xact.c | modified | +4 −8 |
| src/backend/commands/vacuum.c | modified | +22 −3 |
| src/backend/storage/buffer/s_lock.c | modified | +2 −2 |
| src/backend/storage/ipc/shmem.c | modified | +8 −2 |