Adjust largeobject regression test to leave a couple of LOs behind.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/input/largeobject.source | modified | +24 −2 |
| src/test/regress/output/largeobject_1.source | modified | +21 −1 |
| src/test/regress/output/largeobject.source | modified | +21 −1 |