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_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/549fd3d3bc24d40d8c577231eb82ebc7b93c1201 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(-)
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера