pgsql: Remove PGINTERVALSTYLE from the set of special environment - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Remove PGINTERVALSTYLE from the set of special environment
Date
Msg-id 20081125193042.CAC547545A4@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Omit src/port/pipe.c on non-Windows platforms.
Next
From: alvherre@postgresql.org (Alvaro Herrera)
Date:
Subject: pgsql: Use ResourceOwners in the snapshot manager, instead of attempting