From 53408c590e8c99ab65642445cd286832ccc6a3ab Mon Sep 17 00:00:00 2001 From: Sumit Jaiswal Date: Thu, 26 Dec 2024 11:10:12 +0000 Subject: [PATCH] Mark information_schema_tsql.table_constraints_internal() function as PARALLEL SAFE Signed-off-by: Sumit Jaiswal --- contrib/babelfishpg_tsql/sql/information_schema_tsql.sql | 2 +- .../sql/upgrades/babelfishpg_tsql--4.4.0--4.5.0.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/babelfishpg_tsql/sql/information_schema_tsql.sql b/contrib/babelfishpg_tsql/sql/information_schema_tsql.sql index c56bb90487..4b7c302bb6 100644 --- a/contrib/babelfishpg_tsql/sql/information_schema_tsql.sql +++ b/contrib/babelfishpg_tsql/sql/information_schema_tsql.sql @@ -538,7 +538,7 @@ BEGIN OR has_any_column_privilege(r.oid, 'SELECT, INSERT, UPDATE, REFERENCES') ); END; $$ -LANGUAGE plpgsql STABLE; +LANGUAGE plpgsql STABLE PARALLEL SAFE; /* * TABLE_CONSTRAINTS view diff --git a/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--4.4.0--4.5.0.sql b/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--4.4.0--4.5.0.sql index 911d1bc4ef..d80e1de0e5 100644 --- a/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--4.4.0--4.5.0.sql +++ b/contrib/babelfishpg_tsql/sql/upgrades/babelfishpg_tsql--4.4.0--4.5.0.sql @@ -11475,7 +11475,7 @@ BEGIN OR has_any_column_privilege(r.oid, 'SELECT, INSERT, UPDATE, REFERENCES') ); END; $$ -LANGUAGE plpgsql STABLE; +LANGUAGE plpgsql STABLE PARALLEL SAFE; CREATE OR REPLACE VIEW information_schema_tsql.table_constraints AS SELECT