pgsql: Improve largeobject regression test to show size of object read

Started by Tom Lanealmost 14 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Improve largeobject regression test to show size of object read from file.

The idea here is to provide a more easily diagnosable failure diff when
the problem is that tenk.data has been DOS-ified, as I believe to be
happening currently on buildfarm member hamerkop. Per suggestion from
Magnus Hagander.

Also, sync output/largeobject_1.source with current regression test.
Failure to do that in commit 3a0e4d36ebd7f477822d5bae41ba121a40d22ccc
turns out to be the real reason that hamerkop has been complaining.

Branch
------
master

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

Modified Files
--------------
src/test/regress/input/largeobject.source | 3 ++
src/test/regress/output/largeobject.source | 7 ++++++
src/test/regress/output/largeobject_1.source | 27 ++++++++++++++++++++++++++
3 files changed, 37 insertions(+), 0 deletions(-)