pgsql: Add regression test to prevent future breakage of legacy query i - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add regression test to prevent future breakage of legacy query i
Date
Msg-id E1WvB4v-0005JW-B5@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add regression test to prevent future breakage of legacy query in libpq.

Memorialize the expected output of the query that libpq has been using for
many years to get the OIDs of large-object support functions.  Although
we really ought to change the way libpq does this, we must expect that
this query will remain in use in the field for the foreseeable future,
so until we're ready to break compatibility with old libpq versions
we'd better check the results stay the same.  See the recent lo_create()
fiasco.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2dd352d4b01648cac0354c754d9617b2e61f065d

Modified Files
--------------
src/test/regress/expected/opr_sanity.out |   40 ++++++++++++++++++++++++++++++
src/test/regress/sql/opr_sanity.sql      |   24 ++++++++++++++++++
2 files changed, 64 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add regression test to prevent future breakage of legacy query i
Next
From: Tom Lane
Date:
Subject: pgsql: Remove inadvertent copyright violation in largeobject regression