Add more infinite recursion detection while locking a view.
Also add regression test cases for detecting infinite recursion in
locking view tests. Some document enhancements. Patch by Yugo Nagata.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/03030512d1e4df78dc2543d3fe3b6d13e5cb63f6
Modified Files
--------------
doc/src/sgml/ref/lock.sgml | 11 ++++++--
src/backend/commands/lockcmds.c | 54 ++++++++++++++++++++------------------
src/test/regress/expected/lock.out | 16 +++++++++--
src/test/regress/sql/lock.sql | 13 +++++++--
4 files changed, 63 insertions(+), 31 deletions(-)