Re: base backup client as auxiliary backend process
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
Cc: Sergei Kornilov <sk@zsrv.org>, Michael Paquier <michael@paquier.xyz>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-01-11T09:52:30Z
Lists: pgsql-hackers
Attachments
- v2-0001-Expose-PQbackendPID-through-walreceiver-API.patch (text/plain) patch v2-0001
- v2-0002-walreceiver-uses-a-temporary-replication-slot-by-.patch (text/plain) patch v2-0002
On 2020-01-10 04:32, Masahiko Sawada wrote: > I agreed that these patches are useful on its own and 0001 patch and committed 0001 > 0002 patch look good to me. For 0003 patch, > > + linkend="guc-primary-slot-name"/>. Otherwise, the WAL receiver may use > + a temporary replication slot (determined by <xref > + linkend="guc-wal-receiver-create-temp-slot"/>), but these are not shown > + here. > > I think it's better to show the temporary slot name on > pg_stat_wal_receiver view. Otherwise user would have no idea about > what wal receiver is using the temporary slot. Makes sense. It makes the code a bit more fiddly, but it seems worth it. New patches attached. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Factor out InitControlFile() from BootStrapXLOG()
- 79c2385915dd 13.0 landed
-
Reformat code comment
- 9745f93afc56 13.0 landed
-
pg_resetwal: Rename function to avoid potential conflict
- 5f1b8260af96 13.0 landed
-
Expose PQbackendPID() through walreceiver API
- ee4ac46c8eb2 13.0 landed
-
walreceiver uses a temporary replication slot by default
- 329730827848 13.0 landed
-
Make lsn argument of walrcv_create_slot() optional
- c67a55da4ea0 13.0 landed
-
More precise errors from initial pg_control check
- b85e43feb3e8 13.0 landed