Обсуждение: pgsql: Add regression test to prevent future breakage of legacy query i

Поиск
Список
Период
Сортировка

pgsql: Add regression test to prevent future breakage of legacy query i

От
Tom Lane
Дата:
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(+)