mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
Fix comments that were mis-wrapped, for Tom Lane.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.65 2001/03/22 06:16:16 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/ipc.c,v 1.66 2001/03/23 04:49:54 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -404,7 +404,7 @@ IpcSemaphoreLock(IpcSemaphoreId semId, int sem, bool interruptOK)
|
||||
* and entering the semop() call. If a cancel/die interrupt occurs in
|
||||
* that window, we would fail to notice it until after we acquire the
|
||||
* lock (or get another interrupt to escape the semop()). We can
|
||||
* avoid this problem by temporarily setting ImmediateInterruptOK =
|
||||
* avoid this problem by temporarily setting ImmediateInterruptOK to
|
||||
* true before we do CHECK_FOR_INTERRUPTS; then, a die() interrupt in
|
||||
* this interval will execute directly. However, there is a huge
|
||||
* pitfall: there is another window of a few instructions after the
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.28 2001/03/22 03:59:45 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/storage/ipc/sinval.c,v 1.29 2001/03/23 04:49:54 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -319,11 +319,13 @@ GetSnapshotData(bool serializable)
|
||||
xid < FirstTransactionId || xid >= snapshot->xmax)
|
||||
{
|
||||
|
||||
/*
|
||||
* Seems that there is no sense to store xid >=
|
||||
* snapshot->xmax (what we got from ReadNewTransactionId
|
||||
* above) in snapshot->xip - we just assume that all xacts
|
||||
/*--------
|
||||
* Seems that there is no sense to store
|
||||
* xid >= snapshot->xmax
|
||||
* (what we got from ReadNewTransactionId above)
|
||||
* in snapshot->xip. We just assume that all xacts
|
||||
* with such xid-s are running and may be ignored.
|
||||
*--------
|
||||
*/
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user