From: Tomas Vondra Date: Thu, 19 Jan 2017 12:18:45 +0000 (+0100) Subject: mark pg_msgmodule_disable_all() as PROVOLATILE_IMMUTABLE X-Git-Tag: XL_10_R1BETA1~446 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=c835a7b111c333f55e20ed1b71aa6b7a80256a5f;p=postgres-xl.git mark pg_msgmodule_disable_all() as PROVOLATILE_IMMUTABLE The pg_proc entry had provolatile=0, which is not a legal value, so it was triggering an error in opr_sanity regression. Mark the function as PROVOLATILE_IMMUTABLE. --- diff --git a/src/include/catalog/pg_proc.h b/src/include/catalog/pg_proc.h index f66675fd76..8a6f047d8d 100644 --- a/src/include/catalog/pg_proc.h +++ b/src/include/catalog/pg_proc.h @@ -5330,7 +5330,7 @@ DATA(insert OID = 6018 ( pg_msgmodule_disable PGNSP PGUID 12 1 1 0 0 f f f f t t DESCR("pid to ignore overriden log levels"); DATA(insert OID = 6019 ( pg_msgmodule_enable_all PGNSP PGUID 12 1 1 0 0 f f f f t t i s 1 0 16 "16" _null_ _null_ _null_ _null_ _null_ pg_msgmodule_enable_all _null_ _null_ _null_ )); DESCR("all current/future processes to honour overriden log levels"); -DATA(insert OID = 6020 ( pg_msgmodule_disable_all PGNSP PGUID 12 1 1 0 0 f f f f t t 0 s 0 0 16 "" _null_ _null_ _null_ _null_ _null_ pg_msgmodule_disable_all _null_ _null_ _null_ )); +DATA(insert OID = 6020 ( pg_msgmodule_disable_all PGNSP PGUID 12 1 1 0 0 f f f f t t i s 0 0 16 "" _null_ _null_ _null_ _null_ _null_ pg_msgmodule_disable_all _null_ _null_ _null_ )); DESCR("all processes to ignore overriden log levels"); #endif