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)
commit4c3928754210de3b854f8f09ac0efb5fe7333407
treec47c415ef5a2da0959aca0f3ec99cf9e0e5d9f39
parent6124caedd0be321117ddeac9b4d6deff9afc134f
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