Re: [HACKERS] possibility to specify template database for pg_regress - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] possibility to specify template database for pg_regress
Date
Msg-id CAB7nPqT1=yYTY7hee5XhJAcvL2EyAnP2k8ZBRQ+wuQKdgJfgsg@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] possibility to specify template database for pg_regress  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [HACKERS] possibility to specify template database for pg_regress  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Sat, Feb 11, 2017 at 3:03 PM, Pavel Stehule <pavel.stehule@gmail.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".
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] REINDEX CONCURRENTLY 2.0
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] contrib modules and relkind check