Re: BUG #3110: Online Backup introduces Duplicate OIDs - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3110: Online Backup introduces Duplicate OIDs
Date
Msg-id 15784.1212680354@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #3110: Online Backup introduces Duplicate OIDs  (Simon Riggs <simon@2ndquadrant.com>)
Responses Re: BUG #3110: Online Backup introduces Duplicate OIDs
List pgsql-bugs
Simon Riggs <simon@2ndquadrant.com> writes:
> * In the release note comments, add that in a future release we will add
> a parameter to recovery.conf "require_backup_label" which defaults to
> "true".

The problem that I'm having with that idea is that it breaks
crash-recovery after replay starts, because we intentionally remove the
backup label once we've read it.  (And no, please do not suggest
rewriting the config file ...)

Basically it seems that we need a more robust way to distinguish
"beginning a recovery" from "resuming a recovery".  Perhaps more state
in pg_control is needed?

            regards, tom lane

pgsql-bugs by date:

Previous
From: Simon Riggs
Date:
Subject: Re: BUG #3110: Online Backup introduces Duplicate OIDs
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: BUG #4222: ERROR: cache lookup failed for relation