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
439fb6c4
Commit
439fb6c4
authored
Jan 01, 1998
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include text_substr() function and use instead of oracle_compat equivalent.
parent
fcabd075
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/include/catalog/pg_proc.h
src/include/catalog/pg_proc.h
+6
-3
No files found.
src/include/catalog/pg_proc.h
View file @
439fb6c4
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_proc.h,v 1.4
1 1997/12/23 19:29:15
thomas Exp $
* $Id: pg_proc.h,v 1.4
2 1998/01/01 05:47:11
thomas Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
...
...
@@ -1917,6 +1917,9 @@ DESCR("convert");
DATA
(
insert
OID
=
1480
(
circle_box
PGUID
11
f
t
f
1
f
603
"718"
100
0
1
0
foo
bar
));
DESCR
(
"convert"
);
DATA
(
insert
OID
=
1481
(
text_substr
PGUID
11
f
t
f
3
f
25
"25 23 23"
100
0
0
100
foo
bar
));
DESCR
(
"return portion of string"
);
DATA
(
insert
OID
=
1530
(
point
PGUID
14
f
t
f
2
f
600
"601 601"
100
0
0
100
"select lseg_interpt($1, $2)"
-
));
DESCR
(
"convert"
);
DATA
(
insert
OID
=
1531
(
point
PGUID
14
f
t
f
1
f
600
"718"
100
0
0
100
"select circle_center($1)"
-
));
...
...
@@ -2021,7 +2024,7 @@ DATA(insert OID = 875 ( ltrim PGUID 11 f t f 2 f 25 "25 25" 100 0 0 100 f
DESCR
(
"left-pad string to length"
);
DATA
(
insert
OID
=
876
(
rtrim
PGUID
11
f
t
f
2
f
25
"25 25"
100
0
0
100
foo
bar
));
DESCR
(
"right-pad string to length"
);
DATA
(
insert
OID
=
877
(
substr
PGUID
1
1
f
t
f
3
f
25
"25 23 23"
100
0
0
100
foo
bar
));
DATA
(
insert
OID
=
877
(
substr
PGUID
1
4
f
t
f
3
f
25
"25 23 23"
100
0
0
100
"select text_substr($1, $2, $3)"
-
));
DESCR
(
"return portion of string"
);
DATA
(
insert
OID
=
878
(
translate
PGUID
11
f
t
f
3
f
25
"25 18 18"
100
0
0
100
foo
bar
));
DESCR
(
"modify string by substring replacement"
);
...
...
@@ -2033,7 +2036,7 @@ DATA(insert OID = 881 ( ltrim PGUID 14 f t f 1 f 25 "25" 100 0 0 100 "sel
DESCR
(
"remove initial characters from string"
);
DATA
(
insert
OID
=
882
(
rtrim
PGUID
14
f
t
f
1
f
25
"25"
100
0
0
100
"select rtrim($1,
\'
\'
)"
-
));
DESCR
(
"remove trailing characters from string"
);
DATA
(
insert
OID
=
883
(
substr
PGUID
14
f
t
f
2
f
25
"25 23"
100
0
0
100
"select substr($1, $2,
10000
)"
-
));
DATA
(
insert
OID
=
883
(
substr
PGUID
14
f
t
f
2
f
25
"25 23"
100
0
0
100
"select substr($1, $2,
-1
)"
-
));
DESCR
(
"return portion of string"
);
DATA
(
insert
OID
=
884
(
btrim
PGUID
11
f
t
f
2
f
25
"25 25"
100
0
0
100
foo
bar
));
DESCR
(
"trim both ends of string"
);
...
...
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