Re: v12 and pg_restore -f-
Stephen Frost <sfrost@snowman.net>
From: Stephen Frost <sfrost@snowman.net>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Tom Lane <tgl@sss.pgh.pa.us>, "imai.yoshikazu@fujitsu.com" <imai.yoshikazu@fujitsu.com>, Euler Taveira <euler@timbira.com.br>, Andrew Gierth <andrew@tao11.riddles.org.uk>, Justin Pryzby <pryzby@telsasoft.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-11-05T14:11:32Z
Lists: pgsql-hackers, pgsql-general
Greetings, * Peter Eisentraut (peter.eisentraut@2ndquadrant.com) wrote: > On 2019-11-04 15:53, Alvaro Herrera wrote: > >>No, I'm not proposing a full revert. But there's certainly room to > >>consider reverting the part that says you*must* write "-f -" to get > >>output to stdout. > >I don't think this will buy us anything, if we get past branches updated > >promptly. > > Users with with hundreds or thousands of servers and various ancient > maintenance scripts lying around in hard-to-track ways are not going be able > to get everything upgraded to the latest minors *and* new script versions > any time soon. Until they do, they are effectively blocked from introducing > PG12 into their environment. This is very complicated and risky for them. > I think we should revert the part that requires using -f - at least for > PG12. Absolutely not. This argument could be made, with a great deal more justification, against the changes to remove recovery.conf, and I'm sure quite a few other changes that we've made between major versions over the years, but to do so would be to hamstring our ability to make progress and to improve PG. We don't guarantee this kind of compatibility between major versions. Those users have years to address these kinds of changes, that's why we have back-branches and support major versions for 5 years. Thanks, Stephen
Commits
-
Change pg_restore -f- to dump to stdout instead of to ./-
- 5ee8f0fe13b4 10.11 landed
- d38635725cad 9.5.20 landed
- 12a51e2ebea7 9.6.16 landed
- 9fb25fda6d56 9.4.25 landed
- 3574c0ac0509 11.6 landed