From: | Christoph Berg <myon(at)debian(dot)org> |
---|---|
To: | Jehan-Guillaume de Rorthais <ioguix(at)free(dot)fr> |
Cc: | Benoit Lobréau <blo(dot)capdata(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: PGDATA / data_directory |
Date: | 2016-09-07 14:45:25 |
Message-ID: | 20160907144525.honxa5pvncwesa6i@msg.df7cb.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Re: Jehan-Guillaume de Rorthais 2016-09-07 <20160907140816(dot)3e13eaa3(at)firost>
> Indeed. I never noticed data_directory was set in postgresql.conf file...
>
> But then, why starting PostgreSQL with the following command ?
>
> /usr/lib/postgresql/9.4/bin/postgres -D /var/lib/postgresql/9.4/main \
> -c config_file=/etc/postgresql/9.4/main/postgresql.conf
>
> It seems the following one work as expected and seems more logical with this
> setup:
>
> /usr/lib/postgresql/9.4/bin/postgres -D /etc/postgresql/9.4/main/
TBH, I've been wondering about that myself, but never bothered to to
anything about it. Digging in the (now git) history, it's been like
that from the very beginning in 2005:
It got touched a bit when 8.0 support was added, but basically not
changed since then.
I'll see if I can simply remove it. Thanks for the suggestion.
Christoph
From | Date | Subject | |
---|---|---|---|
Next Message | Charles Clavadetscher | 2016-09-07 16:45:13 | Re: Restricted access on DataBases |
Previous Message | Alexander Farber | 2016-09-07 14:44:11 | Re: Passing varchar parameter to INTERVAL |