postgres.git / summary / log / commit / refs

commit    bd69ddfcdbf650f11af4317f3f6686c012cf66d0
Author:   Thomas Munro <tmunro@postgresql.org>
Date:     Mon Mar 01 20:15:15 2021 +0000

    Remove obsolete comment for WaitForProcSignalBarrier().
    
    Commit 814f1d8b removed the behavior described.
    
    Reported-by: Amit Kapila <amit.kapila16@gmail.com>


src/backend/storage/ipc/procsignal.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/backend/storage/ipc/procsignal.c b/src/backend/storage/ipc/procsignal.c index 8e5ee49fbd7..c6a8d4611e4 100644 --- a/src/backend/storage/ipc/procsignal.c +++ b/src/backend/storage/ipc/procsignal.c @@ -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) [parent: 1e6e40447115]