Re: pg_regress and --dbname option / multiple databases

From: Ian Barwick <ian(at)2ndquadrant(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_regress and --dbname option / multiple databases
Date: 2014-11-28 02:20:26
Message-ID: 5477DBEA.5010605@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 28/11/14 00:02, Andrew Dunstan wrote:
>
> On 11/27/2014 04:12 AM, Ian Barwick wrote:
>> Hi
>>
>> pg_regress provides the command line option "--dbname",
>> which is described in the help output thusly:
>>
>> --dbname=DB use database DB (default "regression")
>>
>> It does however accept multiple comma separated names
>> and will create a database for each name provided,
>> but AFAICS only ever uses the first database in the list.
>>
>> Is there a reason for this I'm not seeing?
>
> Most of the code is shared between the main regression suite and ecpg's
> regression suit. The latter uses multiple databases, I believe.

Aha, indeed it does. Thanks for the clarification.

Regards

Ian Barwick

--
Ian Barwick http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kouhei Kaigai 2014-11-28 02:35:58 Re: no test programs in contrib
Previous Message Tatsuo Ishii 2014-11-27 23:49:14 Re: [pgsql-packagers] Palle Girgensohn's ICU patch