Mark immutable functions in information schema as parallel safe
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 5 Apr 2017 16:17:03 +0000 (12:17 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 6 Apr 2017 18:30:13 +0000 (14:30 -0400)
commit5f21f5292c0856536ac0724974a8bc6b296b9ef6
treee59cababca9af6b265033f43e9bab844836f13c0
parent4be613f692b8f474d5766627a636e7f838131587
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>
src/backend/catalog/information_schema.sql
src/include/catalog/catversion.h
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql