pgsql: Mark immutable functions in information schema as parallel safe

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Mark immutable functions in information schema as parallel safe
Date: 2017-04-06 18:31:37
Message-ID: E1cwCC1-0007DS-GC@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)rowley(at)2ndquadrant(dot)com>
Reviewed-by: Robert Haas <robertmhaas(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-04-06 18:43:16 pgsql: Fix logical replication between different encodings
Previous Message Peter Eisentraut 2017-04-06 18:21:05 pgsql: pg_dump: Rename some typedefs to avoid name conflicts