Michael Grimm <trashcan@ellael.org> writes: > Question: > Is there a way to tell PostgreSQL to look for config files in e.g. /usr/local/etc/postgres, where normally all config files reside in FreeBSD? [2]
Typically you would say "pg_ctl -D /usr/local/etc/postgres" to point it at the config file. Then you would need the config file to include data_directory and perhaps other settings pointing to wherever the actual data files are.
Is it standard to point PGDATA to an etc directory instead of to the "data" directory?