Apache has a nice feature: it creates copies of all the default configuration files, so that it's easy to diff and see what has been modified in the config files.
Can this be included in createdb as well?
Thanks, Mark
Here's a patch:
*** initdb.sh-orig 2004-02-11 11:25:49.000000000 -0800 --- initdb.sh 2004-02-11 11:28:35.000000000 -0800 *************** *** 608,615 **** --- 608,620 ---- fi cp "$PG_IDENT_SAMPLE" "$PGDATA"/pg_ident.conf || exit_nicely
+ cp "$PGDATA"/pg_ident.conf "$PGDATA"/pg_ident.conf.default || exit_nicely + cp "$PGDATA"/pg_hba.conf "$PGDATA"/pg_hba.conf.default || exit_nicely + cp "$PGDATA"/postgresql.conf "$PGDATA"/postgresql.conf.default || exit_nicely chmod 0600 "$PGDATA"/pg_hba.conf "$PGDATA"/pg_ident.conf \ "$PGDATA"/postgresql.conf + chmod 0600 "$PGDATA"/pg_hba.conf.default "$PGDATA"/pg_ident.conf.default \ + "$PGDATA"/postgresql.conf.default
echo "ok"
---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match