Howto tell pg_ctl to use a non-default directory for config files - Mailing list pgsql-admin

From Michael Grimm
Subject Howto tell pg_ctl to use a non-default directory for config files
Date
Msg-id B10D18DA-90EC-44A3-9180-967690991789@ellael.org
Whole thread
Responses Re: Howto tell pg_ctl to use a non-default directory for config files
List pgsql-admin
Hi,

FYI: I am pretty new to PostgreSQL, and I am intending to migrate from an MariaDB/Galera cluster to PostgreSQL with
eitherPatroni or pg_auto_failover. And, I have successfully tested a stand-alone database with my client of interest
[1],both running inside a FreeBSD jail.  

Question:
Is there a way to tell PostgreSQL to look for config files in e.g. /usr/local/etc/postgres, where normally all config
filesreside in FreeBSD? [2] 

Thanks and regards,
Michael


[1] https://dbmail.org
[2] As an intermediate solution I am using soft links from $PGDATA to /usr/local/etc/postgres


pgsql-admin by date:

Previous
From: Frank Heikens
Date:
Subject: Re: Low TPS
Next
From: Tom Lane
Date:
Subject: Re: Howto tell pg_ctl to use a non-default directory for config files