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

From: "Euler Taveira" <euler(at)eulerto(dot)com>
To: "Bossart, Nathan" <bossartn(at)amazon(dot)com>, "David Steele" <david(at)pgmasters(dot)net>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Stephen Frost" <sfrost(at)snowman(dot)net>, "Laurenz Albe" <laurenz(dot)albe(at)cybertec(dot)at>, "Michael Paquier" <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, "SATYANARAYANA NARLAPURAM" <satyanarlapuram(at)gmail(dot)com>
Subject: Re: Postgres restart in the middle of exclusive backup and the presence of backup_label file
Date: 2022-01-07 01:20:55
Message-ID: 816909aa-8772-4cfb-897f-6c75b9ce618c@www.fastmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-01-07 02:12:13 Re: Add spin_delay() implementation for Arm in s_lock.h
Previous Message Masahiko Sawada 2022-01-07 01:04:58 Re: Skipping logical replication transactions on subscriber side