From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add regression test to prevent future breakage of legacy query i |
Date: | 2014-06-12 19:54:29 |
Message-ID: | E1WvB4v-0005JW-B5@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2014-06-12 20:51:46 | pgsql: Remove inadvertent copyright violation in largeobject regression |
Previous Message | Tom Lane | 2014-06-12 19:39:25 | pgsql: Rename lo_create(oid, bytea) to lo_from_bytea(). |