Re: Truncate - Mailing list pgsql-patches

From Rod Taylor
Subject Re: Truncate
Date
Msg-id 1029857504.99470.18.camel@jester
Whole thread Raw
In response to Re: Truncate  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Truncate  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Truncate  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Truncate  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
On Tue, 2002-08-20 at 10:21, Tom Lane wrote:
> Rod Taylor <rbt@zort.ca> writes:
> > The issue with finding and removing foreign key constraints is no longer
> > an issue, so please apply the attached.
>
> I do not like adding a system-table index just for the convenience of
> this one not-very-time-critical function.  Please rewrite the patch
> without that.

> BTW, if you are only reading the table and not writing it, the correct
> lock type to get is AccessShareLock, not RowExclusiveLock.

Corrected both of the above.


Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Truncate
Next
From: Tom Lane
Date:
Subject: Re: Truncate