From: | Rod Taylor <rbt(at)zort(dot)ca> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Truncate |
Date: | 2002-08-20 15:31:43 |
Message-ID: | 1029857504.99470.18.camel@jester |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
On Tue, 2002-08-20 at 10:21, Tom Lane wrote:
> Rod Taylor <rbt(at)zort(dot)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 | Content-Type | Size |
---|---|---|
truncate.patch | text/plain | 3.1 KB |
truncate.sql | text/x-sql | 483 bytes |
truncate.out | text/plain | 879 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-20 15:34:41 | Re: Truncate |
Previous Message | Tom Lane | 2002-08-20 14:21:50 | Re: Truncate |