Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit59b89e9

Browse files
committed
Document tri-valued variables in createdb, +1, -1, 0.
1 parentbaf4e18 commit59b89e9

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

‎src/bin/scripts/createuser.c

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
8-
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.21 2005/10/15 02:49:41 momjian Exp $
8+
* $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.22 2005/12/12 15:41:52 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -59,15 +59,19 @@ main(int argc, char *argv[])
5959
boolpassword= false;
6060
boolecho= false;
6161
boolquiet= false;
62+
char*conn_limit=NULL;
63+
boolpwprompt= false;
64+
char*newpassword=NULL;
65+
/*
66+
*Tri-valued variables. -1 is "NO", +1 is enable and 0 uses the
67+
*server default.
68+
*/
6269
intcreatedb=0;
6370
intsuperuser=0;
6471
intcreaterole=0;
6572
intinherit=0;
6673
intlogin=0;
67-
char*conn_limit=NULL;
68-
boolpwprompt= false;
69-
intencrypted=0;/* 0 uses server default */
70-
char*newpassword=NULL;
74+
intencrypted=0;
7175

7276
PQExpBufferDatasql;
7377

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp