diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-11-13 15:01:40 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-11-13 15:01:40 +0000 |
commit | ad89c2ae25f69c448490284a48b592bb68438866 (patch) | |
tree | e7fdd594f15ea4d9630648dddf6ee0a0edbceafa | |
parent | 6b86d62b00f150766e1899c98e964b6611c00ee5 (diff) | |
download | postgresql-ad89c2ae25f69c448490284a48b592bb68438866.tar.gz postgresql-ad89c2ae25f69c448490284a48b592bb68438866.zip |
Add owner description to initdb C code.
Andrew Dunstan
-rw-r--r-- | src/bin/initdb/initdb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index c6444779d9f..ee1f2009335 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -12,7 +12,7 @@ * This is a C implementation of the previous shell script for setting up a * PostgreSQL cluster location, and should be highly compatible with it. * - * $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.4 2003/11/13 01:36:00 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/initdb/initdb.c,v 1.5 2003/11/13 15:01:40 momjian Exp $ * * TODO: * - clean up find_postgres code and return values @@ -2275,6 +2275,11 @@ main(int argc, char *argv[]) check_input(features_file); check_input(system_views_file); + printf("The files belonging to this database system will be owned " + "by user \"%s\".\n" + "This user must also own the server process.\n\n", + effective_user); + setlocales(); if (strcmp(lc_ctype, lc_collate) == 0 && |