pgsql: Adjust largeobject regression test to leave a couple of LOs behi - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Adjust largeobject regression test to leave a couple of LOs behi
Date
Msg-id E1WvCuc-0007PV-2o@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Adjust largeobject regression test to leave a couple of LOs behind.

Since we commonly test pg_dump/pg_restore by seeing whether they can dump
and restore the regression test database, it behooves us to include some
large objects in that test scenario.

I tried to include a comment on one of these large objects to improve
the test scenario further ... but it turns out that pg_upgrade fails to
preserve comments on large objects, and its regression test notices
the discrepancy.  So uncommenting that COMMENT is a TODO for later.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b37e574865f8b465a1c99a29dcdfcecf6eca32f5

Modified Files
--------------
src/test/regress/input/largeobject.source    |   26 ++++++++++++++++++++++++--
src/test/regress/output/largeobject.source   |   22 +++++++++++++++++++++-
src/test/regress/output/largeobject_1.source |   22 +++++++++++++++++++++-
3 files changed, 66 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Preserve exposed type of subquery outputs when substituting NULL
Next
From: Tom Lane
Date:
Subject: pgsql: Adjust largeobject regression test to leave a couple of LOs behi