Re: pendingOps table is not cleared with fsync=off - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pendingOps table is not cleared with fsync=off
Date
Msg-id 3247004.1597085426@sss.pgh.pa.us
Whole thread Raw
In response to Re: pendingOps table is not cleared with fsync=off  (Shawn Debnath <sdn@amazon.com>)
Responses Re: pendingOps table is not cleared with fsync=off
List pgsql-hackers
Shawn Debnath <sdn@amazon.com> writes:
> Good catch. Question is, are the users aware of the requirement to do a 
> manual fsync if they flip the fsync GUC off and then on? Should we do 
> this on their behalf to make a good faith attempt to ensure things are 
> flushed properly via an assign hook?

No.  Or at least, expecting that you can do that from an assign hook
is impossibly wrong-headed.  GUC assign hooks can't have failure modes.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Anastasia Lubennikova
Date:
Subject: Re: [BUG] Error in BRIN summarization
Next
From: Robert Haas
Date:
Subject: Re: Issue with cancel_before_shmem_exit while searching to remove a particular registered exit callbacks