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
46d11f31
Commit
46d11f31
authored
Apr 02, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New relkind ('S') for sequence relations.
New funcs (nextval & currval) in pg_proc.h
parent
4d8e8415
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/include/catalog/pg_class.h
src/include/catalog/pg_class.h
+2
-1
src/include/catalog/pg_proc.h
src/include/catalog/pg_proc.h
+7
-1
No files found.
src/include/catalog/pg_class.h
View file @
46d11f31
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: pg_class.h,v 1.
4 1996/11/13 20:50:56 scrappy
Exp $
* $Id: pg_class.h,v 1.
5 1997/04/02 03:29:35 vadim
Exp $
*
*
* NOTES
* NOTES
* ``pg_relation'' is being replaced by ``pg_class''. currently
* ``pg_relation'' is being replaced by ``pg_class''. currently
...
@@ -160,6 +160,7 @@ DATA(insert OID = 1273 ( pg_hosts 101 PGUID 0 0 0 0 0 f t s n 3 0 - -
...
@@ -160,6 +160,7 @@ DATA(insert OID = 1273 ( pg_hosts 101 PGUID 0 0 0 0 0 f t s n 3 0 - -
#define RELKIND_INDEX 'i'
/* secondary index */
#define RELKIND_INDEX 'i'
/* secondary index */
#define RELKIND_RELATION 'r'
/* cataloged heap */
#define RELKIND_RELATION 'r'
/* cataloged heap */
#define RELKIND_SPECIAL 's'
/* special (non-heap) */
#define RELKIND_SPECIAL 's'
/* special (non-heap) */
#define RELKIND_SEQUENCE 'S'
/* SEQUENCE relation */
#define RELKIND_UNCATALOGED 'u'
/* temporary heap */
#define RELKIND_UNCATALOGED 'u'
/* temporary heap */
#endif
/* PG_RELATION_H */
#endif
/* PG_RELATION_H */
src/include/catalog/pg_proc.h
View file @
46d11f31
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
*
*
* Copyright (c) 1994, Regents of the University of California
* Copyright (c) 1994, Regents of the University of California
*
*
* $Id: pg_proc.h,v 1.1
4 1997/03/25 08:10:50 scrappy
Exp $
* $Id: pg_proc.h,v 1.1
5 1997/04/02 03:29:37 vadim
Exp $
*
*
* NOTES
* NOTES
* The script catalog/genbki.sh reads this file and generates .bki
* The script catalog/genbki.sh reads this file and generates .bki
...
@@ -814,6 +814,12 @@ DATA(insert OID = 881 ( ltrim PGUID 14 f t f 1 f 25 "25" 100 0 0 1
...
@@ -814,6 +814,12 @@ DATA(insert OID = 881 ( ltrim PGUID 14 f t f 1 f 25 "25" 100 0 0 1
DATA
(
insert
OID
=
882
(
rtrim
PGUID
14
f
t
f
1
f
25
"25"
100
0
0
100
"select rtrim($1,
\'
\'
)"
-
));
DATA
(
insert
OID
=
882
(
rtrim
PGUID
14
f
t
f
1
f
25
"25"
100
0
0
100
"select rtrim($1,
\'
\'
)"
-
));
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, 10000)"
-
));
/* SEQUENCEs nextval & currval functions */
DATA
(
insert
OID
=
1317
(
nextval
PGUID
11
f
t
f
1
f
23
"25"
100
0
0
100
foo
bar
));
DATA
(
insert
OID
=
1319
(
currval
PGUID
11
f
t
f
1
f
23
"25"
100
0
0
100
foo
bar
));
#define SeqNextValueRegProcedure 1317
#define SeqCurrValueRegProcedure 1319
/*
/*
* prototypes for functions pg_proc.c
* prototypes for functions pg_proc.c
*/
*/
...
...
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