From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Remove PGINTERVALSTYLE from the set of special environment |
Date: | 2008-11-25 19:30:42 |
Message-ID: | 20081125193042.CAC547545A4@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Remove PGINTERVALSTYLE from the set of special environment variables for
libpq. As noted by Peter, adding this variable created a risk of unexpected
connection failures when talking to older server versions, and since it
doesn't do anything you can't do with PGOPTIONS, it doesn't seem really
necessary. Removing it does occasion a few extra lines in pg_regress.c,
but saving a getenv() call per libpq connection attempt is perhaps worth
that anyway.
Modified Files:
--------------
pgsql/doc/src/sgml:
libpq.sgml (r1.270 -> r1.271)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/libpq.sgml?r1=1.270&r2=1.271)
pgsql/src/interfaces/libpq:
fe-connect.c (r1.368 -> r1.369)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-connect.c?r1=1.368&r2=1.369)
pgsql/src/test/regress:
pg_regress.c (r1.51 -> r1.52)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/pg_regress.c?r1=1.51&r2=1.52)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2008-11-25 20:28:29 | pgsql: Use ResourceOwners in the snapshot manager, instead of attempting |
Previous Message | Tom Lane | 2008-11-25 18:19:31 | pgsql: Omit src/port/pipe.c on non-Windows platforms. |