Re: [HACKERS] [PATCHES] drop database if exists

2005-11-23 Thread Bruce Momjian
Christopher Kings-Lynne wrote: > > > 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? Yes, I was thinking it should be used for pg_dump --clean

Re: [HACKERS] [PATCHES] drop database if exists

2005-11-21 Thread Christopher Kings-Lynne
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 ---(end