pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Lock all relations referred to in updatable views
4+ messages / 1 participants
[nested] [flat]

* pgsql: Lock all relations referred to in updatable views
@ 2015-09-08 21:03  Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Stephen Frost @ 2015-09-08 21:03 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c3e0ddd403d74b161cd83cdccbb0adc45788934f

Modified Files
--------------
src/backend/rewrite/rewriteHandler.c |   15 +++++++++++++++
1 file changed, 15 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Lock all relations referred to in updatable views
@ 2015-09-08 21:03  Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Stephen Frost @ 2015-09-08 21:03 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9801bae217e9d3f72e2d1f3dd780bf0bf9365dae

Modified Files
--------------
src/backend/rewrite/rewriteHandler.c |   15 +++++++++++++++
1 file changed, 15 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Lock all relations referred to in updatable views
@ 2015-09-08 21:03  Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Stephen Frost @ 2015-09-08 21:03 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/cb1b9b959cf068650999af55e160cdce88c4a5a4

Modified Files
--------------
src/backend/rewrite/rewriteHandler.c |   15 +++++++++++++++
1 file changed, 15 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Lock all relations referred to in updatable views
@ 2015-09-08 21:03  Stephen Frost <sfrost@snowman.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Stephen Frost @ 2015-09-08 21:03 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/83d004904d82759118635dc1a6a7503d4da785e9

Modified Files
--------------
src/backend/rewrite/rewriteHandler.c |   15 +++++++++++++++
1 file changed, 15 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2015-09-08 21:03 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-08 21:03 pgsql: Lock all relations referred to in updatable views Stephen Frost <sfrost@snowman.net>
2015-09-08 21:03 pgsql: Lock all relations referred to in updatable views Stephen Frost <sfrost@snowman.net>
2015-09-08 21:03 pgsql: Lock all relations referred to in updatable views Stephen Frost <sfrost@snowman.net>
2015-09-08 21:03 pgsql: Lock all relations referred to in updatable views Stephen Frost <sfrost@snowman.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox