diff options
Diffstat (limited to 'src/backend/storage')
-rw-r--r-- | src/backend/storage/file/fd.c | 2 | ||||
-rw-r--r-- | src/backend/storage/ipc/latch.c | 2 | ||||
-rw-r--r-- | src/backend/storage/ipc/procarray.c | 2 | ||||
-rw-r--r-- | src/backend/storage/lmgr/spin.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 277a28fc13..4f86d44d6e 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -3069,7 +3069,7 @@ AtEOXact_Files(bool isCommit) /* * BeforeShmemExit_Files * - * before_shmem_access hook to clean up temp files during backend shutdown. + * before_shmem_exit hook to clean up temp files during backend shutdown. * Here, we want to clean up *all* temp files including interXact ones. */ static void diff --git a/src/backend/storage/ipc/latch.c b/src/backend/storage/ipc/latch.c index f4123e7de7..cdb95c1931 100644 --- a/src/backend/storage/ipc/latch.c +++ b/src/backend/storage/ipc/latch.c @@ -151,7 +151,7 @@ struct WaitEventSet #endif }; -/* A common WaitEventSet used to implement WatchLatch() */ +/* A common WaitEventSet used to implement WaitLatch() */ static WaitEventSet *LatchWaitSet; /* The position of the latch in LatchWaitSet. */ diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index 80153fb250..8c8d728ba8 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -1754,7 +1754,7 @@ ComputeXidHorizons(ComputeXidHorizonsResult *h) * current top-level xid any. * * Without an assigned xid we could use a horizon as aggressive as - * ReadNewTransactionid(), but we can get away with the much cheaper + * GetNewTransactionId(), but we can get away with the much cheaper * latestCompletedXid + 1: If this backend has no xid there, by * definition, can't be any newer changes in the temp table than * latestCompletedXid. diff --git a/src/backend/storage/lmgr/spin.c b/src/backend/storage/lmgr/spin.c index e406bea201..6052779d9c 100644 --- a/src/backend/storage/lmgr/spin.c +++ b/src/backend/storage/lmgr/spin.c @@ -37,7 +37,7 @@ #define NUM_EMULATION_SEMAPHORES (NUM_SPINLOCK_SEMAPHORES + NUM_ATOMICS_SEMAPHORES) #else #define NUM_EMULATION_SEMAPHORES (NUM_SPINLOCK_SEMAPHORES) -#endif /* DISABLE_ATOMICS */ +#endif /* HAVE_ATOMICS */ PGSemaphore *SpinlockSemaArray; |