summaryrefslogtreecommitdiff
path: root/src/bin/scripts/createdb.c
diff options
context:
space:
mode:
authorBruce Momjian2011-06-09 18:32:50 +0000
committerBruce Momjian2011-06-09 18:32:50 +0000
commit6560407c7db2c7e32926a46f5fb52175ac10d9e5 (patch)
tree9641e538893819410634624a8e0cb86a13d857a6 /src/bin/scripts/createdb.c
parentadf43b2b36ca3d7f988933990051c74a4bd0d6f8 (diff)
Pgindent run before 9.1 beta2.
Diffstat (limited to 'src/bin/scripts/createdb.c')
-rw-r--r--src/bin/scripts/createdb.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/scripts/createdb.c b/src/bin/scripts/createdb.c
index 544f2f64b3d..d7c3928eb6e 100644
--- a/src/bin/scripts/createdb.c
+++ b/src/bin/scripts/createdb.c
@@ -192,11 +192,11 @@ main(int argc, char *argv[])
appendPQExpBuffer(&sql, ";\n");
- /*
- * Connect to the 'postgres' database by default, except have
- * the 'postgres' user use 'template1' so he can create the
- * 'postgres' database.
- */
+ /*
+ * Connect to the 'postgres' database by default, except have the
+ * 'postgres' user use 'template1' so he can create the 'postgres'
+ * database.
+ */
conn = connectDatabase(strcmp(dbname, "postgres") == 0 ? "template1" : "postgres",
host, port, username, prompt_password, progname);