Remove obsolete comment for WaitForProcSignalBarrier().
authorThomas Munro <tmunro@postgresql.org>
Mon, 1 Mar 2021 20:15:15 +0000 (09:15 +1300)
committerThomas Munro <tmunro@postgresql.org>
Mon, 1 Mar 2021 20:30:57 +0000 (09:30 +1300)
Commit 814f1d8b removed the behavior described.

Reported-by: Amit Kapila <amit.kapila16@gmail.com>
src/backend/storage/ipc/procsignal.c

index 8e5ee49fbd7410b55b1161c6534280bd28f24572..c6a8d4611e423a16466d0a6fe2c59654e18aabbc 100644 (file)
@@ -386,11 +386,6 @@ EmitProcSignalBarrier(ProcSignalBarrierType type)
 /*
  * WaitForProcSignalBarrier - wait until it is guaranteed that all changes
  * requested by a specific call to EmitProcSignalBarrier() have taken effect.
- *
- * We expect that the barrier will normally be absorbed very quickly by other
- * backends, so we start by waiting just 1/8 of a second and then back off
- * by a factor of two every time we time out, to a maximum wait time of
- * 1 second.
  */
 void
 WaitForProcSignalBarrier(uint64 generation)