[Fwd: Re: [HACKERS] alternate regression dbs?]

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: [Fwd: Re: [HACKERS] alternate regression dbs?]
Date: 2005-05-15 02:34:26
Message-ID: 4286B532.6020706@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Darn ... previously sent to wrong list

Tom Lane wrote:

>Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>
>
>>Currently the pg_regress script does "dbname=regression" and then does
>>everything in terms of $dbname. Would there be any value in providing a
>>--dbname=foo parameter so that different regression sets could use their
>>own db? One virtue at least might be that we would not drop the core
>>regression db all the time - having it around can be useful, I think.
>>
>>
>
>I'd be in favor of using three such DBs, one for core, PLs, and contrib.
>(More than that seems like it would clutter the disk a lot.) But I do
>use the standard regression DB as a handy testbed for a lot of stuff,
>and it has bothered me in the past that the contrib installcheck wipes
>it out.
>
>
>
>

Try attached ... season to taste. The bulk of it is changes for dblink
which has the dbname hardcoded.

There is probably more to be done with the regression stuff, but this
and the earlier change give us the low hanging fruit at least, I think.

cheers

andrew

Attachment Content-Type Size
other_regress_db.patch text/x-patch 12.9 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-05-15 03:08:01 Re: Exec statement logging
Previous Message Bruce Momjian 2005-05-15 00:27:01 Re: [GENERAL] pgsql config flag update: apple rendezvous renamed bonjour