postgresql/src/pl
Robert Haas a87c0c7631 Allow parallel query for prepared statements with generic plans.
This was always intended to work, but due to an oversight in
max_parallel_hazard_walker, it didn't.  In testing, we missed the
fact that it was only working for custom plans, where the parameter
value has been substituted for the parameter itself early enough
that everything worked.  In a generic plan, the Param node survives
and must be treated as parallel-safe.  SerializeParamList provides
for the transmission of parameter values to workers.

Amit Kapila with help from Kuntal Ghosh.  Some changes by me.

Discussion: http://postgr.es/m/CAA4eK1+_BuZrmVCeua5Eqnm4Co9DAXdM5HPAOE2J19ePbR912Q@mail.gmail.com
2017-10-29 20:48:51 +05:30
..
plperl Translation updates 2017-09-11 12:49:35 -04:00
plpgsql Allow parallel query for prepared statements with generic plans. 2017-10-29 20:48:51 +05:30
plpython Translation updates 2017-10-02 12:03:01 -04:00
tcl Translation updates 2017-10-02 12:03:01 -04:00
Makefile Make distprep and *clean build targets recurse into all subdirectories. 2011-07-03 13:55:12 -04:00