Re: Fairly serious bug induced by latest guc enum changes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fairly serious bug induced by latest guc enum changes
Date
Msg-id 24182.1210686629@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fairly serious bug induced by latest guc enum changes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Fairly serious bug induced by latest guc enum changes  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
I wrote:
> Okay, but you failed to correctly reproduce the conditions for closing
> the old file.

A more bulletproof solution might involve passing sync_method to
get_sync_bit as an explicit parameter, and then the assign hook
could doif (get_sync_bit(sync_method) != get_sync_bit(new_sync_method))    XLogFileClose();
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fairly serious bug induced by latest guc enum changes
Next
From: Magnus Hagander
Date:
Subject: Re: Fairly serious bug induced by latest guc enum changes