pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Guard against parallel-restricted functions in VALUES expression
2+ messages / 1 participants
[nested] [flat]

* pgsql: Guard against parallel-restricted functions in VALUES expression
@ 2016-08-19 18:35  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-08-19 18:35 UTC (permalink / raw)
  To: pgsql-committers

Guard against parallel-restricted functions in VALUES expressions.

Obvious brain fade in set_rel_consider_parallel().  Noticed it while
adjusting the adjacent RTE_FUNCTION case.

In 9.6, also make the code look more like what I just did in HEAD
by removing the unnecessary function_rte_parallel_ok subroutine
(it does nothing that expression_tree_walker wouldn't do).

Branch
------
REL9_6_STABLE

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

Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 31 ++++---------------------------
1 file changed, 4 insertions(+), 27 deletions(-)


-- 
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] 2+ messages in thread

* pgsql: Guard against parallel-restricted functions in VALUES expression
@ 2016-08-19 18:35  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2016-08-19 18:35 UTC (permalink / raw)
  To: pgsql-committers

Guard against parallel-restricted functions in VALUES expressions.

Obvious brain fade in set_rel_consider_parallel().  Noticed it while
adjusting the adjacent RTE_FUNCTION case.

In 9.6, also make the code look more like what I just did in HEAD
by removing the unnecessary function_rte_parallel_ok subroutine
(it does nothing that expression_tree_walker wouldn't do).

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/65a603e90328a7a8fb3ab30ed96f24bf8eb4cf84

Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)


-- 
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] 2+ messages in thread


end of thread, other threads:[~2016-08-19 18:35 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-08-19 18:35 pgsql: Guard against parallel-restricted functions in VALUES expression Tom Lane <tgl@sss.pgh.pa.us>
2016-08-19 18:35 pgsql: Guard against parallel-restricted functions in VALUES expression Tom Lane <tgl@sss.pgh.pa.us>

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