Re: [PATCHES] large object regression tests - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] large object regression tests
Date
Msg-id 1534.1158855448@sss.pgh.pa.us
Whole thread Raw
In response to large object regression tests  (Jeremy Drake <pgsql@jdrake.com>)
Responses Re: [PATCHES] large object regression tests
List pgsql-hackers
Jeremy Drake <pgsql-patches@jdrake.com> writes:
> I put together a patch which adds a regression test for large objects,
> hopefully attached to this message.  I would like some critique of it, to
> see if I have gone about it the right way.  Also I would be happy to hear
> any additional tests which should be added to it.

I'd prefer it if we could arrange not to need any absolute paths
embedded into the test, because maintaining tests that require such is
a real PITA --- instead of just committing the actual test output, one
has to reverse-convert it to a ".source" file.

I suggest that instead of testing the server-side lo_import/lo_export
functions, perhaps you could test the psql equivalents and write and
read a file in psql's working directory.  I think we could do without
the Moby Dick extract too ...

            regards, tom lane

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [COMMITTERS] pgsql: Add documentation for new
Next
From: Mark Dilger
Date:
Subject: Re: TODO: Fix CREATE CAST on DOMAINs