Re: [PATCH] Stop ALTER SYSTEM from making bad assumptions
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Ian Barwick <ian.barwick@2ndquadrant.com>
Cc: Magnus Hagander <magnus@hagander.net>, Tom Lane <tgl@sss.pgh.pa.us>, Amit Kapila <amit.kapila16@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-06-17T15:05:24Z
Lists: pgsql-hackers
Greetings, * Ian Barwick (ian.barwick@2ndquadrant.com) wrote: > However, going back to the original scenario (cascaded standby set up using > "pg_basebackup --write-recovery-conf") there would now be a warning emitted > the first time anyone executes ALTER SYSTEM (about duplicate "primary_conninfo" > entries) which would not have occured in Pg11 and earlier (and which will > no doubt cause consternation along the lines "how did my postgresql.auto.conf > get modified in an unexpected way? OMG? Bug? Was I hacked?"). No, I don't think we should end up in a situation where this happens. I agree that this implies making pg_basebackup more intelligent when it's dealing with that file but I simply don't have a lot of sympathy about that, it's not news to anyone who has been paying attention. Thanks, Stephen
Commits
-
Doc: improve documentation about postgresql.auto.conf.
- e3ddb112f245 10.11 landed
- 7f77f2aec3d0 11.6 landed
- 57980bdf62f4 9.4.25 landed
- 45aaaa42fefa 13.0 landed
- 372d6a8918e0 12.0 landed
- 1ab92aaa97ce 9.5.20 landed
- 0969a7aa3240 9.6.16 landed
-
Fix ALTER SYSTEM to cope with duplicate entries in postgresql.auto.conf.
- f1bf619acdff 13.0 landed
- f8c9a08520ee 10.11 landed
- a4b0d955bd23 9.4.25 landed
- 75b2f011f642 12.0 landed
- 4784ad7a370e 9.6.16 landed
- 32d38f54a369 11.6 landed
- 29f9b1819a72 9.5.20 landed