From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> |
Cc: | Andrew Dunstan <andrew(at)dunslane(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: drop if exists remainder |
Date: | 2006-02-07 02:26:57 |
Message-ID: | 200602070226.k172QvA07469@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Christopher Kings-Lynne wrote:
> >>> Here's a first draft patch for DROP ... IF EXISTS for the remaining
> >>> cases, namely: LANGUAGE, TABLESPACE, TRIGGER OPERATOR CLASS,
> >>> FUNCTION, AGGREGATE, OPERATOR, CAST and RULE.
> >>>
> >>
> >> At what point does this stop being useful and become mere bloat?
> >> The only case I can ever recall being actually asked for was the
> >> TABLE case ...
> >
> > Chris KL said it should be done for all on the grounds of consistency.
> > But I will happily stop right now if that's not the general view - I'm
> > only doing this to complete something I started.
>
> Well, my use-case was to be able to wrap "pg_dump -c" output in
> begin/commit tags and being able to run and re-run such dumps without
> errors. Basically I don't like 'acceptable errors' when restoring dumps
> :) They just confuse newer users especially.
>
> I also just like consistency :)
Makes sense.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Doug McNaught | 2006-02-07 02:27:45 | Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and |
Previous Message | Christopher Kings-Lynne | 2006-02-07 02:24:31 | Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and |
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2006-02-07 04:56:58 | Patch to readme |
Previous Message | Christopher Kings-Lynne | 2006-02-07 02:22:34 | Re: drop if exists remainder |