Re: Add checks in pg_rewind to abort if backup_label file is present

2023-12-05 Thread Heikki Linnakangas
On 05/12/2023 19:36, Krishnakumar R wrote: Hi, Please find the attached patch for $subject and associated test. Please review. Thanks for picking up this long-standing TODO! +/* + * Check if a file is present using the connection to the + * database. + */ +static bool +libpq_is_file_present(

Add checks in pg_rewind to abort if backup_label file is present

2023-12-05 Thread Krishnakumar R
Hi, Please find the attached patch for $subject and associated test. Please review. -- Thanks and Regards, Krishnakumar (KK). [Microsoft] From 80ad7293b57a2b346b0775b8f6e0e06198617154 Mon Sep 17 00:00:00 2001 From: "Krishnakumar R (KK)" Date: Tue, 5 Dec 2023 02:36:32 -0800 Subject: [PATCH v1] Ad