Re: Proposal for changes to recovery.conf API
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Abhijit Menon-Sen <ams@2ndquadrant.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-11-04T13:35:55Z
Lists: pgsql-hackers
On Fri, Nov 4, 2016 at 6:04 AM, Michael Paquier <michael.paquier@gmail.com> wrote: > On Tue, Nov 1, 2016 at 11:31 PM, Robert Haas <robertmhaas@gmail.com> wrote: >> I liked Heikki's suggestion (at some point quite a while ago now) of >> recovery_target = 'xid 123' or recovery_target='lsn 0/723' or >> whatever. > > My vote goes for having two separate parameters, because as we know > that there will be always two fields in this parameter, ... That's not even true today: when the target is immediate, it has no associated parameter value. And who knows what the future may hold? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company