Mark immutable functions in information schema as parallel safe
Also add opr_sanity check that all preloaded immutable functions are
parallel safe. (Per discussion, this does not necessarily have to be
true for all possible such functions, but deviations would be unlikely
enough that maintaining such a test is reasonable.)
Reported-by: David Rowley <david.rowley@2ndquadrant.com>
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5f21f5292c0856536ac0724974a8bc6b296b9ef6
Modified Files
--------------
src/backend/catalog/information_schema.sql | 13 +++++++++++--
src/include/catalog/catversion.h | 2 +-
src/test/regress/expected/opr_sanity.out | 8 ++++++++
src/test/regress/sql/opr_sanity.sql | 5 +++++
4 files changed, 25 insertions(+), 3 deletions(-)