Re: possibility to specify template database for pg_regress

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: possibility to specify template database for pg_regress
Date: 2017-02-13 19:59:43
Message-ID: CAFj8pRAQQ-ejJ-kK2OgPTqXe_uCQXRjkv9R6yCFrjXAbeevN5A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

2017-02-13 6:46 GMT+01:00 Michael Paquier <michael(dot)paquier(at)gmail(dot)com>:

> On Sat, Feb 11, 2017 at 3:03 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
> > here is new update - check is done before any creating
>
> It may be better to do any checks before dropping existing databases
> as well... It would be as well just simpler to complain with a single
> error message like "database and template list lengths do not match".
>

next step

Regards

Pavel

> --
> Michael
>

Attachment Content-Type Size
pg_regress-template-option-03.patch text/x-patch 3.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2017-02-13 20:04:09 Re: \if, \elseif, \else, \endif (was Re: PSQL commands: \quit_if, \quit_unless)
Previous Message Alvaro Herrera 2017-02-13 19:42:08 Re: Removal of deprecated views pg_user, pg_group, pg_shadow