diff options
Diffstat (limited to 'main/postgresql/initdb.patch')
-rw-r--r-- | main/postgresql/initdb.patch | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/main/postgresql/initdb.patch b/main/postgresql/initdb.patch index 8edf7db1e5..59a872a499 100644 --- a/main/postgresql/initdb.patch +++ b/main/postgresql/initdb.patch @@ -1,16 +1,14 @@ diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c -index feeff9e..e6a4536 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c -@@ -3641,10 +3641,7 @@ main(int argc, char *argv[]) - strlcpy(bin_dir, argv[0], sizeof(bin_dir)); - get_parent_directory(bin_dir); +@@ -3259,9 +3259,7 @@ + /* translator: This is a placeholder in a shell command. */ + appendPQExpBuffer(start_db_cmd, " -l %s start", _("logfile")); - printf(_("\nSuccess. You can now start the database server using:\n\n" -- " %s%s%spg_ctl%s -D %s%s%s -l logfile start\n\n"), -- QUOTE_PATH, bin_dir, (strlen(bin_dir) > 0) ? DIR_SEP : "", QUOTE_PATH, -- QUOTE_PATH, pgdata_native, QUOTE_PATH); +- " %s\n\n"), +- start_db_cmd->data); + printf(_("\nSuccess.\n\n")); - return 0; - } + destroyPQExpBuffer(start_db_cmd); + |