Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] large object regression tests

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, Jeremy Drake <pgsql-patches(at)jdrake(dot)com>
Cc: PostgreSQL-development <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] large object regression tests
Date: 2006-09-21 16:17:28
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Jeremy Drake <pgsql-patches(at)jdrake(dot)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

In response to


pgsql-hackers by date

Next:From: Mark DilgerDate: 2006-09-21 16:37:09
Previous:From: Bruce MomjianDate: 2006-09-21 15:40:58
Subject: Re: [COMMITTERS] pgsql: Add documentation for new

pgsql-patches by date

Next:From: Mark Cave-AylandDate: 2006-09-22 07:29:00
Subject: Re: WIP: Hierarchical Queries - stage 1
Previous:From: Csaba NagyDate: 2006-09-21 09:07:50
Subject: Re: [HACKERS] Incrementally Updated Backup

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group