Re: [HACKERS] ACCESS EXCLUSIVE LOCK

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: seth(dot)m(dot)green(at)gmail(dot)com, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] ACCESS EXCLUSIVE LOCK
Date: 2006-03-04 03:08:57
Message-ID: 20060304030857.GL82012@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Fri, Mar 03, 2006 at 08:00:19PM -0700, Michael Fuhr wrote:
> On Fri, Mar 03, 2006 at 08:47:41PM -0600, Jim C. Nasby wrote:
> > You have a URL for where in the docs it says that? Sounds like it needs
> > to be updated to include TRUNCATE.
>
> http://www.postgresql.org/docs/7.4/static/explicit-locking.html#LOCKING-TABLES
>
> It doesn't say that only the listed commands acquire ACCESS EXCLUSIVE,
> just that certain commands do. TRUNCATE isn't shown.

Patch against HEAD to add TRUNCATE to the list of commands that aquire
ACCESS EXCLUSIVE.
--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

Attachment Content-Type Size
patch text/plain 741 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-03-04 04:41:49 Re: [HACKERS] ACCESS EXCLUSIVE LOCK
Previous Message Michael Fuhr 2006-03-04 03:00:19 Re: ACCESS EXCLUSIVE LOCK

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-03-04 03:47:43 Re: OS X shared memory documentation
Previous Message Michael Fuhr 2006-03-04 03:00:19 Re: ACCESS EXCLUSIVE LOCK