mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
Fix error in comment. Fujii Masao
This commit is contained in:
parent
b28186bb84
commit
5f93b7c8ea
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.518.2.2 2008/12/13 02:00:52 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.518.2.3 2009/06/18 10:11:15 heikki Exp $
|
||||
*
|
||||
* NOTES
|
||||
* this is the "main" module of the postgres backend and
|
||||
@ -2783,8 +2783,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.
|
||||
* ----------------
|
||||
@ -2797,7 +2797,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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user