Re: [PATCH] remove pg_standby
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>,
Justin Pryzby <pryzby@telsasoft.com>, Heikki Linnakangas <hlinnaka@iki.fi>, Tom Lane <tgl@sss.pgh.pa.us>,
Stephen Frost <sfrost@snowman.net>, Ian Lawrence Barwick <barwick@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-01-27T05:32:35Z
Lists: pgsql-hackers
Attachments
- v4-0001-Retire-pg_standby.patch (text/x-patch) patch v4-0001
- v4-0002-Remove-documentation-of-waiting-restore_command.patch (text/x-patch) patch v4-0002
On Wed, Jan 27, 2021 at 6:06 PM Michael Paquier <michael@paquier.xyz> wrote: > On Wed, Jan 27, 2021 at 04:13:24PM +1300, Thomas Munro wrote: > > I would like to commit this, because "waiting restore commands" have > > confusing interactions with my proposed prefetching-during-recovery > > patch[1]. Here's a version that fixes an error when building the docs > > (there was a stray remaining <xref linkend="pgstandby"/>), and adds a > > commit message. Any objections? > > It looks like you are missing two references in your patch set: > $ git grep pg_standby > doc/src/sgml/high-availability.sgml: Do not use pg_standby or > similar tools with the built-in standby mode > src/backend/access/transam/xlog.c: * segment. Only recycle normal > files, pg_standby for example can create Thanks, fixed. > The logic assumed in RemoveXlogFile() is actually a bit scary. I have > not checked in details but it could be possible to clean up more code > in this area? I think the check that it's a regular file is a good idea anyway, but I removed the offending comment. > > Furthermore, I think we should also remove the section of the manual > > that describes how to write your own "waiting restore command". > > Thoughts? > > Agreed. No objections to that. Thanks!
Commits
-
Remove documentation of waiting restore_command.
- 5c6d184213bb 14.0 landed
-
Retire pg_standby.
- 514b411a2b52 14.0 landed
-
doc: Fix typos
- 796f57d21697 9.5.25 landed
- 272ace098dd3 9.6.21 landed
- d965f698dcbe 10.16 landed
- b9a027c53a2a 11.11 landed
- b608645c17d7 12.6 landed
- 7ef52b5d5de4 13.2 landed
- 2fbd786c3446 14.0 landed