mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Fix typos in comments
The changes done in this commit impact comments with no direct user-visible changes, with fixes for incorrect function, variable or structure names. Author: Alexander Lakhin Discussion: https://postgr.es/m/e8c38840-596a-83d6-bd8d-cebc51111572@gmail.com
This commit is contained in:
@@ -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
|
||||
|
@@ -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. */
|
||||
|
@@ -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.
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user