pg_regress and --dbname option / multiple databases

Started by Ian Barwickabout 11 years ago3 messages
#1Ian Barwick
ian@2ndquadrant.com

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?

Regards

Ian Barwick

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Ian Barwick (#1)
Re: pg_regress and --dbname option / multiple databases

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.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

#3Ian Barwick
ian@2ndquadrant.com
In reply to: Andrew Dunstan (#2)
Re: pg_regress and --dbname option / multiple databases

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

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers