From: | David Steele <david(at)pgmasters(dot)net> |
---|---|
To: | Euler Taveira <euler(at)eulerto(dot)com>, "Bossart, Nathan" <bossartn(at)amazon(dot)com>, 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 13:51:14 |
Message-ID: | ae33b33e-1581-27ac-10bf-b4fab7c3c418@pgmasters.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 1/6/22 20:20, Euler Taveira wrote:
> 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.
I don't think updating backup_fs_hot() is worth it here.
backup_fs_cold() works just fine for this case and if there is a need
for backup_fs_hot() in the future it can be implemented as needed.
Regards,
-David
From | Date | Subject | |
---|---|---|---|
Next Message | Juan José Santamaría Flecha | 2022-01-07 13:56:24 | Re: Fix vcregress plpython3 warning |
Previous Message | Euler Taveira | 2022-01-07 13:47:44 | Re: row filtering for logical replication |