0002-pg_createsubscriber-remove-obsolete-comment.patch
text/x-patch
Filename: 0002-pg_createsubscriber-remove-obsolete-comment.patch
Type: text/x-patch
Part: 1
Message:
Re: speed up a logical replica setup
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Series: patch 0002
Subject: pg_createsubscriber: remove obsolete comment
| File | + | − |
|---|---|---|
| src/bin/pg_basebackup/pg_createsubscriber.c | 1 | 4 |
From 75558e8379abae3a642583f31b21e0ca5db80d2b Mon Sep 17 00:00:00 2001 From: Euler Taveira <euler@eulerto.com> Date: Mon, 29 Jul 2024 20:59:32 -0300 Subject: [PATCH 2/2] pg_createsubscriber: remove obsolete comment This comment should have been removed by commit b9639138262. There is no replication slot check on primary anymore. --- src/bin/pg_basebackup/pg_createsubscriber.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index 00976c643a1..87668640f78 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -2209,10 +2209,7 @@ main(int argc, char **argv) stop_standby_server(subscriber_dir); /* - * Create the required objects for each database on publisher. This step - * is here mainly because if we stop the standby we cannot verify if the - * primary slot is in use. We could use an extra connection for it but it - * doesn't seem worth. + * Create the required objects for each database on publisher. */ consistent_lsn = setup_publisher(dbinfo); -- 2.30.2