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

From Michael Grimm
Subject Re: Howto tell pg_ctl to use a non-default directory for config files
Date
Msg-id 41D74517-751E-47F2-9BA7-FE3E574C2FAE@ellael.org
Whole thread
In response to Re: Howto tell pg_ctl to use a non-default directory for config files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> 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
configfiles 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.  See
>
> https://www.postgresql.org/docs/current/runtime-config-file-locations.html

Ah! That's what I failed to find in the documentation :-(

Thanks and regards,
Michael




pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Howto tell pg_ctl to use a non-default directory for config files
Next
From: Ron Johnson
Date:
Subject: Re: Howto tell pg_ctl to use a non-default directory for config files