From: diemersebastien@yahoo.fr
To: pgsql-docs@postgresql.org
Subject: Correction in SHARE ROW EXCLUSIVE lock description
Date: Mon, 09 Oct 2017 09:07:48 +0000
Message-ID: <20171009090748.14648.18871@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.4/static/explicit-locking.html
Description:
The documentation says :
"This lock mode is not automatically acquired by any PostgreSQL command."
I am wrong if I say that a "ADD CONSTRAINT toto FOREIGN KEY" command will
take a SHARE ROW EXCLUSIVE lock on both tables concerned by the foreign key
?
--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs
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: diemersebastien@yahoo.fr
Subject: Re: Correction in SHARE ROW EXCLUSIVE lock description
In-Reply-To: <20171009090748.14648.18871@wrigleys.postgresql.org>
* 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