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
02e85e7e
Commit
02e85e7e
authored
Feb 13, 1999
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add routines to convert between int8 and text/varchar types.
Fix output type for int8out, but I don't think it matters.
parent
7a724a02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
src/include/catalog/pg_proc.h
src/include/catalog/pg_proc.h
+20
-2
No files found.
src/include/catalog/pg_proc.h
View file @
02e85e7e
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_proc.h,v 1.8
7 1998/12/30 19:56:32 wieck
Exp $
* $Id: pg_proc.h,v 1.8
8 1999/02/13 04:19:54 thomas
Exp $
*
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
...
...
@@ -842,7 +842,7 @@ DESCR("smaller of two");
DATA
(
insert
OID
=
460
(
int8in
PGUID
11
f
t
f
1
f
20
"0"
100
0
0
100
foo
bar
));
DESCR
(
"(internal)"
);
DATA
(
insert
OID
=
461
(
int8out
PGUID
11
f
t
f
1
f
19
"0"
100
0
0
100
foo
bar
));
DATA
(
insert
OID
=
461
(
int8out
PGUID
11
f
t
f
1
f
23
"0"
100
0
0
100
foo
bar
));
DESCR
(
"(internal)"
);
DATA
(
insert
OID
=
462
(
int8um
PGUID
11
f
t
f
1
f
20
"20"
100
0
0
100
foo
bar
));
DESCR
(
"unary minus"
);
...
...
@@ -1546,6 +1546,11 @@ DESCR("multiply");
DATA
(
insert
OID
=
1281
(
int48div
PGUID
11
f
t
f
2
f
20
"23 20"
100
0
0
100
foo
bar
));
DESCR
(
"divide"
);
DATA
(
insert
OID
=
1288
(
int8_text
PGUID
11
f
t
f
1
f
25
"20"
100
0
0
100
foo
bar
));
DESCR
(
"convert int8 to text"
);
DATA
(
insert
OID
=
1289
(
text_int8
PGUID
11
f
t
f
1
f
20
"25"
100
0
0
100
foo
bar
));
DESCR
(
"convert text to int8"
);
DATA
(
insert
OID
=
1297
(
timestamp_in
PGUID
11
f
t
f
1
f
1296
"0"
100
0
0
100
foo
bar
));
DESCR
(
"(internal)"
);
DATA
(
insert
OID
=
1298
(
timestamp_out
PGUID
11
f
t
f
1
f
23
"0"
100
0
0
100
foo
bar
));
...
...
@@ -2027,6 +2032,19 @@ DESCR("convert float8 to text");
DATA
(
insert
OID
=
1607
(
text
PGUID
14
f
t
f
1
f
25
"700"
100
0
0
100
"select float4_text($1)"
-
));
DESCR
(
"convert float4 to text"
);
DATA
(
insert
OID
=
1619
(
varchar
PGUID
14
f
t
f
1
f
1043
"23"
100
0
0
100
"select int4_text($1)"
-
));
DESCR
(
"convert int4 to varchar"
);
DATA
(
insert
OID
=
1620
(
int4
PGUID
14
f
t
f
1
f
23
"1043"
100
0
0
100
"select text_int4($1)"
-
));
DESCR
(
"convert varchar to int4"
);
DATA
(
insert
OID
=
1621
(
text
PGUID
14
f
t
f
1
f
25
"20"
100
0
0
100
"select int8_text($1)"
-
));
DESCR
(
"convert int8 to text"
);
DATA
(
insert
OID
=
1622
(
int8
PGUID
14
f
t
f
1
f
20
"25"
100
0
0
100
"select text_int8($1)"
-
));
DESCR
(
"convert text to int8"
);
DATA
(
insert
OID
=
1623
(
varchar
PGUID
14
f
t
f
1
f
1043
"20"
100
0
0
100
"select int8_text($1)"
-
));
DESCR
(
"convert int8 to varchar"
);
DATA
(
insert
OID
=
1624
(
int8
PGUID
14
f
t
f
1
f
20
"1043"
100
0
0
100
"select text_int8($1)"
-
));
DESCR
(
"convert varchar to int8"
);
/* Oracle Compatibility Related Functions - By Edmund Mergl <E.Mergl@bawue.de> */
DATA
(
insert
OID
=
868
(
strpos
PGUID
14
f
t
f
2
f
23
"25 25"
100
0
0
100
"select textpos($1, $2)"
-
));
DESCR
(
"find position of substring"
);
...
...
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