Skip to content

Commit 3b2f668

Browse files
committed
pg_createsubscriber: Fix bogus error message
Also some desultory style improvement
1 parent 9fb855f commit 3b2f668

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bin/pg_basebackup/pg_createsubscriber.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,7 +1085,7 @@ drop_existing_subscriptions(PGconn *conn, const char *subname, const char *dbnam
10851085

10861086
if (PQresultStatus(res) != PGRES_COMMAND_OK)
10871087
{
1088-
pg_log_error("could not drop a subscription \"%s\" settings: %s",
1088+
pg_log_error("could not drop subscription \"%s\": %s",
10891089
subname, PQresultErrorMessage(res));
10901090
disconnect_database(conn, true);
10911091
}
@@ -2083,13 +2083,13 @@ main(int argc, char **argv)
20832083
pg_log_error_hint("Try \"%s --help\" for more information.", progname);
20842084
exit(1);
20852085
}
2086-
pg_log_info("validating connection string on publisher");
2086+
pg_log_info("validating publisher connection string");
20872087
pub_base_conninfo = get_base_conninfo(opt.pub_conninfo_str,
20882088
&dbname_conninfo);
20892089
if (pub_base_conninfo == NULL)
20902090
exit(1);
20912091

2092-
pg_log_info("validating connection string on subscriber");
2092+
pg_log_info("validating subscriber connection string");
20932093
sub_base_conninfo = get_sub_conninfo(&opt);
20942094

20952095
if (opt.database_names.head == NULL)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy