pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: diemersebastien@yahoo.fr
To: pgsql-docs@postgresql.org
Subject: Re: Missing lock conflict for ROW SHARE
Date: Fri, 21 Apr 2017 15:39:48 -0400
Message-ID: <eb963b35-367d-2694-118f-383b323a90d6@2ndquadrant.com> (raw)
In-Reply-To: <20170412100015.25934.47518@wrigleys.postgresql.org>
References: <20170412100015.25934.47518@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

On 4/12/17 06:00, diemersebastien@yahoo.fr wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/9.4/static/explicit-locking.html
> Description:
> 
> In my experience ROW SHARE conflicts with ROW EXCLUSIVE and this is not
> mentioned in the documentation. Am I missing something ?

This is not correct.  See the source for how the lock conflicts are
defined:
<https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/storage/lmgr/lock.c;h=3e33b...;

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (2+ messages)

Message-ID: <eb963b35-367d-2694-118f-383b323a90d6@2ndquadrant.com>
Permalink:  ../eb963b35-367d-2694-118f-383b323a90d6@2ndquadrant.com/
Also on:    postgresql.org/message-id/eb963b35-367d-2694-118f-383b323a90d6@2ndquadrant.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, diemersebastien@yahoo.fr
  Subject: Re: Missing lock conflict for ROW SHARE
  In-Reply-To: <eb963b35-367d-2694-118f-383b323a90d6@2ndquadrant.com>

* 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