v20-0008-Fix-error-message-for-get_bin_directory.patch
application/octet-stream
Filename: v20-0008-Fix-error-message-for-get_bin_directory.patch
Type: application/octet-stream
Part: 7
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 v20-0008
Subject: Fix error message for get_bin_directory
| File | + | − |
|---|---|---|
| src/bin/pg_basebackup/pg_createsubscriber.c | 1 | 3 |
From 425c5bafce09e0a133e26bec0b8209b9fdd253d8 Mon Sep 17 00:00:00 2001
From: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Date: Tue, 13 Feb 2024 12:08:40 +0000
Subject: [PATCH v20 08/12] Fix error message for get_bin_directory
---
src/bin/pg_basebackup/pg_createsubscriber.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c
index a81654ebc8..5ccab80032 100644
--- a/src/bin/pg_basebackup/pg_createsubscriber.c
+++ b/src/bin/pg_basebackup/pg_createsubscriber.c
@@ -253,9 +253,7 @@ get_bin_directory(const char *path)
if (find_my_exec(path, full_path) < 0)
{
- pg_log_error("The program \"%s\" is needed by %s but was not found in the\n"
- "same directory as \"%s\".\n",
- "pg_ctl", progname, full_path);
+ pg_log_error("invalid binary directory");
pg_log_error_hint("Check your installation.");
exit(1);
}
--
2.43.0