Re: Add -k/--link option to pg_combinebackup - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Add -k/--link option to pg_combinebackup
Date
Msg-id Z9hnKP8mtoiBF5EG@nathan
Whole thread Raw
In response to Re: Add -k/--link option to pg_combinebackup  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Add -k/--link option to pg_combinebackup
List pgsql-hackers
On Mon, Mar 17, 2025 at 02:10:14PM -0400, Robert Haas wrote:
> Now, to see if the buildfarm explodes...

I think koel might complain.  pgindent on my machine yields the following:

diff --git a/src/bin/pg_combinebackup/copy_file.c b/src/bin/pg_combinebackup/copy_file.c
index 97ecda5a66d..b0c94f6ee31 100644
--- a/src/bin/pg_combinebackup/copy_file.c
+++ b/src/bin/pg_combinebackup/copy_file.c
@@ -72,9 +72,10 @@ copy_file(const char *src, const char *dst,
     }

 #ifdef WIN32
+
     /*
-     * We have no specific switch to enable CopyFile on Windows, because
-     * it's supported (as far as we know) on all Windows machines. So,
+     * We have no specific switch to enable CopyFile on Windows, because it's
+     * supported (as far as we know) on all Windows machines. So,
      * automatically enable it unless some other strategy was selected.
      */
     if (copy_method == COPY_METHOD_COPY)

-- 
nathan



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Add -k/--link option to pg_combinebackup
Next
From: Nathan Bossart
Date:
Subject: Re: dead code in pg_upgrade