Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file

Euler Taveira <euler@eulerto.com>

From: "Euler Taveira" <euler@eulerto.com>
To: "Bossart, Nathan" <bossartn@amazon.com>, "David Steele" <david@pgmasters.net>, "Andrew Dunstan" <andrew@dunslane.net>, "Tom Lane" <tgl@sss.pgh.pa.us>
Cc: "Stephen Frost" <sfrost@snowman.net>, "Laurenz Albe" <laurenz.albe@cybertec.at>, "Michael Paquier" <michael@paquier.xyz>, pgsql-hackers <pgsql-hackers@postgresql.org>, "SATYANARAYANA NARLAPURAM" <satyanarlapuram@gmail.com>
Date: 2022-01-07T01:20:55Z
Lists: pgsql-hackers
On Thu, Jan 6, 2022, at 9:48 PM, Bossart, Nathan wrote:
> After a quick glance, I didn't see an easy way to hold a session open
> while the test does other things.  If there isn't one, modifying
> backup_fs_hot() to work with non-exclusive mode might be more trouble
> than it is worth.
You can use IPC::Run to start psql in background. See examples in
src/test/recovery.


--
Euler Taveira
EDB   https://www.enterprisedb.com/

Commits

  1. Remove duplicated word in comment of basebackup.c