PGDATA

Started by Adrian Klaverover 11 years ago6 messagesgeneral
Jump to latest
#1Adrian Klaver
adrian.klaver@aklaver.com

Just out of curiosity is there a reason PGDATA is not listed with the
other environment variables here?:

http://www.postgresql.org/docs/9.3/interactive/libpq-envars.html

--
Adrian Klaver
adrian.klaver@aklaver.com

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: Adrian Klaver (#1)
Re: PGDATA

Adrian Klaver-4 wrote

Just out of curiosity is there a reason PGDATA is not listed with the
other environment variables here?:

http://www.postgresql.org/docs/9.3/interactive/libpq-envars.html

Yes, because PGDATA is not a client concern and thus is not something that
libpq cares about.

Clients only care about the public interface the server offers - stuff that
is socket related or that aids in identifying itself.

David J.

--
View this message in context: http://postgresql.nabble.com/PGDATA-tp5831209p5831210.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Michael Paquier
michael@paquier.xyz
In reply to: Adrian Klaver (#1)
Re: PGDATA

On Thu, Dec 18, 2014 at 10:23 AM, Adrian Klaver
<adrian.klaver@aklaver.com> wrote:

Just out of curiosity is there a reason PGDATA is not listed with the other
environment variables here?:

http://www.postgresql.org/docs/9.3/interactive/libpq-envars.html

PGDATA is not an environment variables that can be used for
connections with libpq, see for example fe-connect.c.
--
Michael

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#4Adrian Klaver
adrian.klaver@aklaver.com
In reply to: Michael Paquier (#3)
Re: PGDATA

On 12/17/2014 05:39 PM, Michael Paquier wrote:

On Thu, Dec 18, 2014 at 10:23 AM, Adrian Klaver
<adrian.klaver@aklaver.com> wrote:

Just out of curiosity is there a reason PGDATA is not listed with the other
environment variables here?:

http://www.postgresql.org/docs/9.3/interactive/libpq-envars.html

PGDATA is not an environment variables that can be used for
connections with libpq, see for example fe-connect.c.

I see. Still it would be nice to have all the environment variables in
one place.

Are there any more then those listed on the libpq page and PGDATA?

--
Adrian Klaver
adrian.klaver@aklaver.com

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#5Michael Paquier
michael@paquier.xyz
In reply to: Adrian Klaver (#4)
Re: PGDATA

On Thu, Dec 18, 2014 at 12:05 PM, Adrian Klaver <adrian.klaver@aklaver.com>
wrote:

Are there any more then those listed on the libpq page and PGDATA?

No other PG* I am aware of.
--
Michael

#6Tom Lane
tgl@sss.pgh.pa.us
In reply to: Adrian Klaver (#4)
Re: PGDATA

Adrian Klaver <adrian.klaver@aklaver.com> writes:

On 12/17/2014 05:39 PM, Michael Paquier wrote:

PGDATA is not an environment variables that can be used for
connections with libpq, see for example fe-connect.c.

I see. Still it would be nice to have all the environment variables in
one place.
Are there any more then those listed on the libpq page and PGDATA?

The server doesn't react to libpq's environment variables at all,
so it wouldn't be particularly sensible to list them together.

The ones it does react to are all, I think, listed on the "postgres"
reference page:
http://www.postgresql.org/docs/9.3/static/app-postgres.html

regards, tom lane

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general