]> granicus.if.org Git - postgresql/commit
Remove PGINTERVALSTYLE from the set of special environment variables for
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Nov 2008 19:30:42 +0000 (19:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Nov 2008 19:30:42 +0000 (19:30 +0000)
commit1304f297a44516857cf404742487da0ed6344fdb
treebf6bd04857a793848c760dc8c51ed4c8d24de32d
parent4d1ba044d897be5bc85adbb9d6b8b4e5976b4e44
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.
doc/src/sgml/libpq.sgml
src/interfaces/libpq/fe-connect.c
src/test/regress/pg_regress.c