On Tue, May 30, 2017 at 4:24 AM, Simon Riggs <si...@2ndquadrant.com> wrote: > Just check the name of the directory so that pg_resetwal will refuse > to run against pg_xlog directory
That's a strictly weaker integrity check than what Tom already committed. That only distinguishes pre-10 from post-10, whereas Tom linked it to the specific major version, which is better. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers