Re: Bug #743: pg_dump -a -c without DELETE FROM - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #743: pg_dump -a -c without DELETE FROM
Date
Msg-id 19742.1030028997@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug #743: pg_dump -a -c without DELETE FROM  (Philip Warner <pjw@rhyme.com.au>)
List pgsql-bugs
Philip Warner <pjw@rhyme.com.au> writes:
> Given that it is dropping the table, it does not really need to do a delete.

But with -a it won't do the drop (I hope).

The combination -a -c seems rather useless to me, and I'd vote for
throwing an error.  I don't think emitting DELETE FROM would be very
useful in practice (at least not without a VACUUM) so I'm not in
favor of that.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #742: 7.2.1 createdb test gives segmentation fault
Next
From: Tom Lane
Date:
Subject: Re: Bug #744: initdb --pwprompt=????