Re: [HACKERS] ACCESS EXCLUSIVE LOCK

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, 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 04:41:49
Message-ID: 200603040441.k244fna25191@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Patch applied. Thanks. Your documentation changes can be viewed in
five minutes using links on the developer's page,
http://www.postgresql.org/developer/testing.

---------------------------------------------------------------------------

Jim C. Nasby wrote:
> 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, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

--
Bruce Momjian http://candle.pha.pa.us
SRA OSS, Inc. http://www.sraoss.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-03-04 05:02:06 Re: Improving free space usage (was: Reducing relation locking
Previous Message Jim C. Nasby 2006-03-04 03:08:57 Re: [HACKERS] ACCESS EXCLUSIVE LOCK

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-03-04 04:44:13 Re: constant too large in port/gettimeofday
Previous Message Bruce Momjian 2006-03-04 04:37:56 Fix for /dev/tty on Win32