pgsql: Revert "Accept relations of any kind in LOCK TABLE".

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Revert "Accept relations of any kind in LOCK TABLE".
Date: 2020-11-06 21:18:35
Message-ID: E1kb97z-0005WY-65@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4352c2394a547e5797c512cbaf0d0b7ca824747a

Modified Files
--------------
doc/src/sgml/ref/lock.sgml | 15 ++++++---------
src/backend/commands/lockcmds.c | 28 +++++++++++++++++++---------
src/test/regress/expected/lock.out | 11 -----------
src/test/regress/sql/lock.sql | 13 -------------
4 files changed, 25 insertions(+), 42 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-11-06 22:05:50 pgsql: First-draft release notes for 13.1.
Previous Message Tom Lane 2020-11-06 17:15:49 pgsql: Doc: undo mistaken adjustment to LOCK TABLE docs in back branche