summaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-06-18 10:09:34 +0000
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2009-06-18 10:09:34 +0000
commitd35386432e634ecd7ef8ab95404a07d502b6c0e4 (patch)
treeb3ca4291cbd979bea815e3191315e7e650790b3c /src/backend/tcop/postgres.c
parent5b2e5fed503fd07f3ab7f1ebf8d93ef39b9fd83b (diff)
Fix error in comment. Fujii Masao
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 5bfeae97d67..6269fab5bec 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.542.2.4 2009/01/01 17:12:24 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.542.2.5 2009/06/18 10:09:34 heikki Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
@@ -2931,8 +2931,8 @@ PostgresMain(int argc, char *argv[], const char *username)
* If the databasename is omitted it is taken to be the user name.
*
* When started from the postmaster, the format is
- * postgres [secure switches] -p databasename [insecure switches]
- * Switches appearing after -p came from the client (via "options"
+ * postgres [secure switches] -y databasename [insecure switches]
+ * Switches appearing after -y came from the client (via "options"
* field of connection request). For security reasons we restrict
* what these switches can do.
* ----------------
@@ -2945,7 +2945,7 @@ PostgresMain(int argc, char *argv[], const char *username)
argc--;
}
- /* all options are allowed until '-p' */
+ /* all options are allowed until '-y' */
secure = true;
ctx = PGC_POSTMASTER;
gucsource = PGC_S_ARGV; /* initial switches came from command line */