Skip site navigation (1) Skip section navigation (2)

pgsql: Minor improvements to script.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Minor improvements to script.
Date: 2011-09-01 13:24:17
Message-ID: (view raw or whole thread)
Lists: pgsql-committers
Minor improvements to script.

1. Use new dropdb --if-exists option, to avoid alarming the user if
   the database being dropped doesn't already exist.
2. Bail out if createdb fails.
3. exit 1 if the checks fail.
4. Make it executable.

Josh Kupershmidt, with some kibitzing by me.



Modified Files
src/test/mb/ |    9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)

pgsql-committers by date

Next:From: Michael MeskesDate: 2011-09-01 13:46:34
Subject: pgsql: In ecpglib restore LC_NUMERIC in case of an error.
Previous:From: Robert HaasDate: 2011-09-01 12:39:02
Subject: pgsql: Userspace access vector cache for contrib/sepgsql.

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group