]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert "Accept relations of any kind in LOCK TABLE".
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Nov 2020 21:17:57 +0000 (16:17 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 6 Nov 2020 21:17:57 +0000 (16:17 -0500)
commit549fd3d3bc24d40d8c577231eb82ebc7b93c1201
tree9ae0c0059338cc69dc0de8ba420cca4448a3da5e
parent802c460a27cc1d01f8c8b9542488bbdfde60dc58
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
doc/src/sgml/ref/lock.sgml
src/backend/commands/lockcmds.c
src/test/regress/expected/lock.out
src/test/regress/sql/lock.sql