From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Revert "Accept relations of any kind in LOCK TABLE".
Date: Fri, 06 Nov 2020 21:18:35 +0000
Message-ID: <E1kb97z-0005Wq-8e@gemulon.postgresql.org> (raw)
Revert "Accept relations of any kind in LOCK TABLE".
Revert 59ab4ac32, as well as the followup fix 33862cb9c, in all
branches. We need to think a bit harder about what the behavior
of LOCK TABLE on views should be, and there's no time for that
before next week's releases. We'll take another crack at this
later.
Discussion: https://postgr.es/m/16703-e348f58aab3cf6cc@postgresql.org
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/ec516818a81aa43c56eb433e9c47304c19f4ac1b
Modified Files
--------------
doc/src/sgml/ref/lock.sgml | 24 ++++++++----------------
src/backend/commands/lockcmds.c | 7 +++++++
src/test/regress/expected/lock.out | 16 +++-------------
src/test/regress/sql/lock.sql | 17 ++---------------
4 files changed, 20 insertions(+), 44 deletions(-)
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Revert "Accept relations of any kind in LOCK TABLE".
In-Reply-To: <E1kb97z-0005Wq-8e@gemulon.postgresql.org>
References: <E1kb97z-0005Wq-8e@gemulon.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