Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite611515

Browse files
committed
pg_trgm's set_limit() function is parallel unsafe, not parallel restricted.
Per buildfarm. Fortunately, it's not quite too late to squeeze this fixinto the pg_trgm 1.3 update.
1 parent3557b17 commite611515

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎contrib/pg_trgm/pg_trgm--1.2--1.3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ UPDATE pg_catalog.pg_proc SET
2323
prorettype='gtrgm'::pg_catalog.regtype
2424
WHEREoid=pg_catalog.to_regprocedure('gtrgm_union(internal,internal)');
2525

26-
ALTERFUNCTION set_limit(float4) PARALLELRESTRICTED;
26+
ALTERFUNCTION set_limit(float4) PARALLELUNSAFE;
2727
ALTERFUNCTION show_limit() PARALLEL SAFE;
2828
ALTERFUNCTION show_trgm(text) PARALLEL SAFE;
2929
ALTERFUNCTION similarity(text,text) PARALLEL SAFE;

‎contrib/pg_trgm/pg_trgm--1.3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
CREATEFUNCTIONset_limit(float4)
88
RETURNS float4
99
AS'MODULE_PATHNAME'
10-
LANGUAGE C STRICT VOLATILE PARALLELRESTRICTED;
10+
LANGUAGE C STRICT VOLATILE PARALLELUNSAFE;
1111

1212
-- Deprecated function
1313
CREATEFUNCTIONshow_limit()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp