git.postgresql.org Git - postgresql.git/commit
Tue, 8 Sep 2015 21:02:49 +0000 (17:02 -0400)
Tue, 8 Sep 2015 21:02:49 +0000 (17:02 -0400)
commit c3e0ddd403d74b161cd83cdccbb0adc45788934f
Lock all relations referred to in updatable views
Even views considered "simple" enough to be automatically updatable may
have mulitple relations involved (eg: in a where clause). We need to
make sure and lock those relations when rewriting the query.
Back-patch to 9.3 where updatable views were added.
Pointed out by Andres, patch thanks to Dean Rasheed.
This is the main PostgreSQL git repository.
RSS
Atom