]> granicus.if.org Git - postgresql/commitdiff
Add owner description to initdb C code.
authorBruce Momjian <bruce@momjian.us>
Thu, 13 Nov 2003 15:01:40 +0000 (15:01 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 13 Nov 2003 15:01:40 +0000 (15:01 +0000)
Andrew Dunstan

src/bin/initdb/initdb.c

index c6444779d9ff3748e86d83d7c2906bc18548c1ff..ee1f200933510f7c7507edf7e30433520134d55a 100644 (file)
@@ -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 &&