mirror of https://github.com/postgres/postgres
pg_trgm's set_limit() function is parallel unsafe, not parallel restricted.
Per buildfarm. Fortunately, it's not quite too late to squeeze this fix into the pg_trgm 1.3 update.
This commit is contained in:
parent
3557b1791b
commit
e611515dd6
|
@ -23,7 +23,7 @@ UPDATE pg_catalog.pg_proc SET
|
|||
prorettype = 'gtrgm'::pg_catalog.regtype
|
||||
WHERE oid = pg_catalog.to_regprocedure('gtrgm_union(internal,internal)');
|
||||
|
||||
ALTER FUNCTION set_limit(float4) PARALLEL RESTRICTED;
|
||||
ALTER FUNCTION set_limit(float4) PARALLEL UNSAFE;
|
||||
ALTER FUNCTION show_limit() PARALLEL SAFE;
|
||||
ALTER FUNCTION show_trgm(text) PARALLEL SAFE;
|
||||
ALTER FUNCTION similarity(text, text) PARALLEL SAFE;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
CREATE FUNCTION set_limit(float4)
|
||||
RETURNS float4
|
||||
AS 'MODULE_PATHNAME'
|
||||
LANGUAGE C STRICT VOLATILE PARALLEL RESTRICTED;
|
||||
LANGUAGE C STRICT VOLATILE PARALLEL UNSAFE;
|
||||
|
||||
-- Deprecated function
|
||||
CREATE FUNCTION show_limit()
|
||||
|
|
Loading…
Reference in New Issue