On Tue, Sep 4, 2018 at 12:59 PM, R, Siva <sivas...@amazon.com> wrote: > We recently encountered an issue where the opaque data flags on a gin data > leaf page was corrupted while replaying a gin insert WAL record. Upon > further examination of the redo code, we found a bug in ginRedoRecompress > code, which extracts the WAL information and updates the page.
I wonder how you managed to detect it in the first place. Were you using something like wal_consistency_checking=all, with a custom stress-test? -- Peter Geoghegan