pgsql: Adjust largeobject regression test to leave a couple of LOs behi

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust largeobject regression test to leave a couple of LOs behi
Date: 2014-06-12 21:51:58
Message-ID: E1WvCuc-0007PV-2o@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-06-12 22:59:19 pgsql: Improve tuplestore's error messages for I/O failures.
Previous Message Tom Lane 2014-06-12 21:11:56 pgsql: Preserve exposed type of subquery outputs when substituting NULL