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

Commitcb1ab30

Browse files
committed
Fix completely-bogus volatility markings on pg_trgm functions.
1 parent9fd8843 commitcb1ab30

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎contrib/pg_trgm/pg_trgm.sql.in

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
/* $PostgreSQL: pgsql/contrib/pg_trgm/pg_trgm.sql.in,v 1.6 2007/11/13 04:24:28 momjian Exp $ */
1+
/* $PostgreSQL: pgsql/contrib/pg_trgm/pg_trgm.sql.in,v 1.7 2007/12/09 02:22:46 tgl Exp $ */
22

33
-- Adjust this setting to control where the objects get created.
44
SET search_path = public;
55

66
CREATE OR REPLACE FUNCTION set_limit(float4)
77
RETURNS float4
88
AS 'MODULE_PATHNAME'
9-
LANGUAGE C STRICTIMMUTABLE;
9+
LANGUAGE C STRICTVOLATILE;
1010

1111
CREATE OR REPLACE FUNCTION show_limit()
1212
RETURNS float4
1313
AS 'MODULE_PATHNAME'
14-
LANGUAGE C STRICTIMMUTABLE;
14+
LANGUAGE C STRICTSTABLE;
1515

1616
CREATE OR REPLACE FUNCTION show_trgm(text)
1717
RETURNS _text
@@ -26,7 +26,7 @@ LANGUAGE C STRICT IMMUTABLE;
2626
CREATE OR REPLACE FUNCTION similarity_op(text,text)
2727
RETURNS bool
2828
AS 'MODULE_PATHNAME'
29-
LANGUAGE C STRICTIMMUTABLE;
29+
LANGUAGE C STRICTSTABLE;
3030

3131
CREATE OPERATOR % (
3232
LEFTARG = text,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp