Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a620d50 commit 6f1bf75Copy full SHA for 6f1bf75
src/bin/pg_ctl/pg_ctl.c
@@ -4,7 +4,7 @@
4
*
5
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
6
7
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.116 2009/12/10 06:32:28 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.117 2009/12/15 00:17:50 itagaki Exp $
8
9
*-------------------------------------------------------------------------
10
*/
@@ -656,6 +656,9 @@ do_init(void)
656
if (exec_path == NULL)
657
exec_path = find_other_exec_or_die(argv0, "initdb", "initdb (PostgreSQL) " PG_VERSION "\n");
658
659
+ if (pgdata_opt == NULL)
660
+ pgdata_opt = "";
661
+
662
if (post_opts == NULL)
663
post_opts = "";
664
0 commit comments