From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael A. Schulte <michael.schulte@sun.com>
Cc: Gaetano Mendola <mendola@bigfoot.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: ExclusiveLock and Python
Date: Fri, 28 Feb 2003 09:05:56 -0500
Message-ID: <4197.1046441156@sss.pgh.pa.us> (raw)
In-Reply-To: <3E5F248F.8020606@sun.com>
References: <b3i8gp$1gqp$1@news.hub.org>
<29830.1046274625@sss.pgh.pa.us>
<3E5F248F.8020606@sun.com>
"Michael A. Schulte" <michael.schulte@sun.com> writes:
> Tom Lane wrote:
>> Offhand I think this is only used to implement waits associated with
>> SELECT FOR UPDATE row locking --- all other locks are on tables or
>> table-like objects.
> What about two processes updating the same row?
Right, that case is also a row lock.
> I thougth
> PostGres locks the row in this case and this would also
> be reflected as an entry in pg_locks with mode
> ExclusiveLock.
There's no pg_locks entry for a row lock.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, michael.schulte@sun.com, mendola@bigfoot.com
Subject: Re: ExclusiveLock and Python
In-Reply-To: <4197.1046441156@sss.pgh.pa.us>
References: <b3i8gp$1gqp$1@news.hub.org> <29830.1046274625@sss.pgh.pa.us> <3E5F248F.8020606@sun.com> <4197.1046441156@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox