Unix Technical Forum

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

This is a discussion on [Fwd: Re: [HACKERS] alternate regression dbs?] within the Pgsql Patches forums, part of the PostgreSQL category; --> Darn ... previously sent to wrong list Tom Lane wrote: >Andrew Dunstan <andrew@dunslane.net> writes: > > >>Currently the pg_regress ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 12:20 AM
Andrew Dunstan
 
Posts: n/a
Default [Fwd: Re: [HACKERS] alternate regression dbs?]


Darn ... previously sent to wrong list

Tom Lane wrote:

>Andrew Dunstan <andrew@dunslane.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




---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com