diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-06-09 14:32:50 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-06-09 14:32:50 -0400 |
commit | 6560407c7db2c7e32926a46f5fb52175ac10d9e5 (patch) | |
tree | 9641e538893819410634624a8e0cb86a13d857a6 /src/bin/scripts | |
parent | adf43b2b36ca3d7f988933990051c74a4bd0d6f8 (diff) | |
download | postgresql-6560407c7db2c7e32926a46f5fb52175ac10d9e5.tar.gz postgresql-6560407c7db2c7e32926a46f5fb52175ac10d9e5.zip |
Pgindent run before 9.1 beta2.
Diffstat (limited to 'src/bin/scripts')
-rw-r--r-- | src/bin/scripts/createdb.c | 10 | ||||
-rw-r--r-- | src/bin/scripts/dropdb.c | 9 |
2 files changed, 9 insertions, 10 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); diff --git a/src/bin/scripts/dropdb.c b/src/bin/scripts/dropdb.c index 48f73ae25e8..4cec63ec8e2 100644 --- a/src/bin/scripts/dropdb.c +++ b/src/bin/scripts/dropdb.c @@ -113,11 +113,10 @@ main(int argc, char *argv[]) appendPQExpBuffer(&sql, "DROP DATABASE %s;\n", fmtId(dbname)); - /* - * Connect to the 'postgres' database by default, except have - * the 'postgres' user use 'template1' so he can drop the - * 'postgres' database. - */ + /* + * Connect to the 'postgres' database by default, except have the + * 'postgres' user use 'template1' so he can drop the 'postgres' database. + */ conn = connectDatabase(strcmp(dbname, "postgres") == 0 ? "template1" : "postgres", host, port, username, prompt_password, progname); |