Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
9299f617
Commit
9299f617
authored
Oct 08, 2013
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unaccent: mark unaccent() functions as immutable
Suggestion from Pavel Stehule
parent
ee1e5662
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
contrib/unaccent/unaccent--1.0.sql
contrib/unaccent/unaccent--1.0.sql
+2
-2
contrib/unaccent/unaccent--unpackaged--1.0.sql
contrib/unaccent/unaccent--unpackaged--1.0.sql
+3
-3
No files found.
contrib/unaccent/unaccent--1.0.sql
View file @
9299f617
...
@@ -6,12 +6,12 @@
...
@@ -6,12 +6,12 @@
CREATE
FUNCTION
unaccent
(
regdictionary
,
text
)
CREATE
FUNCTION
unaccent
(
regdictionary
,
text
)
RETURNS
text
RETURNS
text
AS
'MODULE_PATHNAME'
,
'unaccent_dict'
AS
'MODULE_PATHNAME'
,
'unaccent_dict'
LANGUAGE
C
S
TABLE
STRICT
;
LANGUAGE
C
IMMU
TABLE
STRICT
;
CREATE
FUNCTION
unaccent
(
text
)
CREATE
FUNCTION
unaccent
(
text
)
RETURNS
text
RETURNS
text
AS
'MODULE_PATHNAME'
,
'unaccent_dict'
AS
'MODULE_PATHNAME'
,
'unaccent_dict'
LANGUAGE
C
S
TABLE
STRICT
;
LANGUAGE
C
IMMU
TABLE
STRICT
;
CREATE
FUNCTION
unaccent_init
(
internal
)
CREATE
FUNCTION
unaccent_init
(
internal
)
RETURNS
internal
RETURNS
internal
...
...
contrib/unaccent/unaccent--unpackaged--1.0.sql
View file @
9299f617
...
@@ -10,7 +10,7 @@ ALTER EXTENSION unaccent ADD function unaccent_lexize(internal,internal,internal
...
@@ -10,7 +10,7 @@ ALTER EXTENSION unaccent ADD function unaccent_lexize(internal,internal,internal
ALTER
EXTENSION
unaccent
ADD
text
search
template
unaccent
;
ALTER
EXTENSION
unaccent
ADD
text
search
template
unaccent
;
ALTER
EXTENSION
unaccent
ADD
text
search
dictionary
unaccent
;
ALTER
EXTENSION
unaccent
ADD
text
search
dictionary
unaccent
;
-- These functions
are marked as stable in 9.1, were not before:
-- These functions
were marked as stable in 9.1; they were now marked as immutable
ALTER
FUNCTION
unaccent
(
regdictionary
,
text
)
S
TABLE
;
ALTER
FUNCTION
unaccent
(
regdictionary
,
text
)
IMMU
TABLE
;
ALTER
FUNCTION
unaccent
(
text
)
S
TABLE
;
ALTER
FUNCTION
unaccent
(
text
)
IMMU
TABLE
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment