aboutsummaryrefslogtreecommitdiffstats
path: root/main/postgresql/initdb.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-11-04 22:23:15 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-11-04 23:29:17 +0100
commitd67ceb66a1ca9e1899071c9ef09fffba29fa0417 (patch)
treec0fb8f23864311c67c1ad04554a186609fe65bdb /main/postgresql/initdb.patch
parent26892ae1589a429eba33f402597fe1ad901ee3f9 (diff)
downloadaports-d67ceb66a1ca9e1899071c9ef09fffba29fa0417.tar.bz2
aports-d67ceb66a1ca9e1899071c9ef09fffba29fa0417.tar.xz
main/postgresql: upgrade to 10.0
Diffstat (limited to 'main/postgresql/initdb.patch')
-rw-r--r--main/postgresql/initdb.patch16
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);
+