Re: [PATCHES] drop database if exists

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCHES] drop database if exists
Date: 2005-11-21 14:27:42
Message-ID: 4381D95E.6020607@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


> here's a patch for "drop database if exists". Barring objections I will
> apply it in a day or two.

Should we use the IF EXISTS syntax in pg_dump output? For all DROP
commands in clean mode?

Might make it easier to wrap pg_dump output in a transaction?

Chris

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-11-21 14:40:21 Time for pgindent?
Previous Message Andrew Dunstan 2005-11-21 14:20:36 drop database if exists

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-11-21 14:48:26 Re: In pg_dump "no owner" mode don't dump owner names in comments
Previous Message Andrew Dunstan 2005-11-21 14:20:36 drop database if exists