Re: Bug #743: pg_dump -a -c without DELETE FROM

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: psztoch(at)interia(dot)pl, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Bug #743: pg_dump -a -c without DELETE FROM
Date: 2002-08-22 15:09:57
Message-ID: 19742.1030028997@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Philip Warner <pjw(at)rhyme(dot)com(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2002-08-22 15:13:02 Re: Bug #744: initdb --pwprompt=????
Previous Message Przemysław Sztoch 2002-08-22 15:05:42 Re: Bug #743: pg_dump -a -c without DELETE FROM