Re: [HACKERS] large object regression tests

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Jeremy Drake <pgsql(at)jdrake(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL-development <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] large object regression tests
Date: 2006-10-15 03:10:21
Message-ID: 200610150310.k9F3AL103782@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Jeremy Drake wrote:
> On Sun, 24 Sep 2006, Jeremy Drake wrote:
>
> > On Thu, 21 Sep 2006, Tom Lane wrote:
> >
> > > I think we could do without the Moby Dick extract too ...
> >
> > I am open to suggestions. I saw one suggestion that I use an image of an
> > elephant, but I suspect that was tongue-in-cheek. I am not very fond of
> > the idea of generating repetitious data, as I think it would be more
> > difficult to determine whether or not the loseek/tell functions put me in
> > the right place in the middle of the file.
>
> I just had the idea that I could use one of the existing data files which
> are used for testing COPY instead of the Moby Dick extract. They are
> already there, a few of them are pretty good sized, they have data in the
> file which is not just simple repetition so it would be pretty obvious if
> the seek function broke, and they are very unlikely to change. I am
> considering changing the test I put together to use tenk.data as the input
> file tomorrow and send in what I have again, since I also am doing a test
> of \lo_import (which also requires a patch to psql I sent in earlier to
> fix the output of the \lo_* commands to respect the output settings).
>
> --
> When does summertime come to Minnesota, you ask?
> Well, last year, I think it was a Tuesday.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-10-15 03:11:10 Re: [HACKERS] large object regression tests
Previous Message Tom Lane 2006-10-15 01:55:10 Re: BUG #2683: spi_exec_query in plperl returns column names which are not marked as UTF8

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-10-15 03:11:10 Re: [HACKERS] large object regression tests
Previous Message Bruce Momjian 2006-10-14 23:08:54 Re: small FAQ patch