Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ad89c2a

Browse files
committed
Add owner description to initdb C code.
Andrew Dunstan
1 parent 6b86d62 commit ad89c2a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/bin/initdb/initdb.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* This is a C implementation of the previous shell script for setting up a
1313
* PostgreSQL cluster location, and should be highly compatible with it.
1414
*
15-
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.4 2003/11/13 01:36:00 tgl Exp $
15+
* $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.5 2003/11/13 15:01:40 momjian Exp $
1616
*
1717
* TODO:
1818
* - clean up find_postgres code and return values
@@ -2275,6 +2275,11 @@ main(int argc, char *argv[])
22752275
check_input(features_file);
22762276
check_input(system_views_file);
22772277

2278+
printf("The files belonging to this database system will be owned "
2279+
"by user \"%s\".\n"
2280+
"This user must also own the server process.\n\n",
2281+
effective_user);
2282+
22782283
setlocales();
22792284

22802285
if (strcmp(lc_ctype, lc_collate) == 0 &&

0 commit comments

Comments
 (0)