Thread: pgsql: Remove PGINTERVALSTYLE from the set of special environment
pgsql: Remove PGINTERVALSTYLE from the set of special environment
From
tgl@postgresql.org (Tom Lane)
Date:
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)