Files
postgresql/src/backend
Tom Lane 0bdf1ef3d5 Don't throw an error for LOCK TABLE on a self-referential view.
LOCK TABLE has complained about "infinite recursion" when applied
to a self-referential view, ever since we made it recurse into views
in v11.  However, that breaks pg_dump's new assumption that it's
okay to lock every relation.  There doesn't seem to be any good
reason to throw an error: if we just abandon the recursion, we've
still satisfied the requirement of locking every referenced relation.

Per bug #16703 from Andrew Bille (via Alexander Lakhin).

Discussion: https://postgr.es/m/16703-e348f58aab3cf6cc@postgresql.org
2020-11-05 11:44:32 -05:00
..
2019-01-02 12:44:25 -05:00
2020-09-20 14:41:28 +02:00
2020-08-10 15:21:18 +02:00
2019-05-22 13:04:48 -04:00
2019-01-02 12:44:25 -05:00
2018-03-30 17:33:04 -07:00
2020-08-10 15:21:18 +02:00