Allow to lock views.

Tatsuo Ishii <ishii@postgresql.org>

Commit: 34c20de4d0b0ea8f96d0c518724d876c7b984cf5
Author: Tatsuo Ishii <ishii@postgresql.org>
Date: 2018-03-30T00:18:02Z
Releases: 11.0
Allow to lock views.

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

Files

PathChange+/−
doc/src/sgml/ref/lock.sgml modified +5 −0
src/backend/commands/lockcmds.c modified +126 −13
src/test/regress/expected/lock.out modified +97 −3
src/test/regress/sql/lock.sql modified +57 −2

Documentation touched

Discussion