Allow to lock views

Enterprise / PostgreSQL - Tatsuo Ishii [postgresql.org] - 30 March 2018 00:18 EDT

Now all tables used in view definitions can be recursively locked by a LOCK command.

Author: Yugo Nagata Reviewed by Robert Haas, Thomas Munro and me.

Discussion: https://postgr.es/m/20171011183629.eb2817b3.nagata%40sraoss.co.jp

34c20de4d0 Allow to lock views.
doc/src/sgml/ref/lock.sgml | 5 ++
src/backend/commands/lockcmds.c | 139 +++++++++++++++++++++++++++++++++----
src/test/regress/expected/lock.out | 100 +++++++++++++++++++++++++-
src/test/regress/sql/lock.sql | 59 +++++++++++++++-
4 files changed, 285 insertions(+), 18 deletions(-)

Upstream: git.postgresql.org


  • Share