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
dd8b0e67
Commit
dd8b0e67
authored
Jan 10, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup for func args > 8.
parent
2d920dc7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
15 deletions
+13
-15
src/backend/catalog/pg_type.c
src/backend/catalog/pg_type.c
+2
-2
src/backend/utils/Gen_fmgrtab.sh.in
src/backend/utils/Gen_fmgrtab.sh.in
+4
-6
src/include/catalog/pg_type.h
src/include/catalog/pg_type.h
+6
-6
src/include/config.h.in
src/include/config.h.in
+1
-1
No files found.
src/backend/catalog/pg_type.c
View file @
dd8b0e67
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.4
5 2000/01/10 17:14:31
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_type.c,v 1.4
6 2000/01/10 20:23:28
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -373,7 +373,7 @@ TypeCreate(char *typeName,
values
[
i
++
]
=
(
Datum
)
GetUserId
();
/* 2 */
values
[
i
++
]
=
(
Datum
)
internalSize
;
/* 3 */
values
[
i
++
]
=
(
Datum
)
externalSize
;
/* 4 */
values
[
i
++
]
=
(
Datum
)
passedByValue
;
/* 5 */
values
[
i
++
]
=
(
Datum
)
passedByValue
;
/* 5 */
values
[
i
++
]
=
(
Datum
)
typeType
;
/* 6 */
values
[
i
++
]
=
(
Datum
)
(
bool
)
1
;
/* 7 */
values
[
i
++
]
=
(
Datum
)
typDelim
;
/* 8 */
...
...
src/backend/utils/Gen_fmgrtab.sh.in
View file @
dd8b0e67
...
...
@@ -8,7 +8,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
6 1999/07/15 23:03:25
momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
7 2000/01/10 20:23:29
momjian Exp $
#
# NOTES
# Passes any -D options on to cpp prior to generating the list
...
...
@@ -83,7 +83,7 @@ cat > $HFILE <<FuNkYfMgRsTuFf
*
* Copyright (c) 1994, Regents of the University of California
*
*
$Id
: Gen_fmgrtab.sh.in,v 1.1
6 1999/07/15 23:03:25
momjian Exp $
*
$Id
: Gen_fmgrtab.sh.in,v 1.1
7 2000/01/10 20:23:29
momjian Exp $
*
* NOTES
* ******************************
...
...
@@ -107,10 +107,8 @@ cat > $HFILE <<FuNkYfMgRsTuFf
* arguments from the user level since the catalogs only
* store 8 argument type values for type-checking ...
*/
#define MAXFMGRARGS 9
typedef struct {
char *data[
MAXFMGRARGS];
char *data[
FUNC_MAX_ARGS+1]; /* function name is arg0 */
} FmgrValues;
typedef struct {
...
...
@@ -206,7 +204,7 @@ cat > $TABCFILE <<FuNkYfMgRtAbStUfF
*
*
* IDENTIFICATION
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
6 1999/07/15 23:03:25
momjian Exp $
*
$Header
: /cvsroot/pgsql/src/backend/utils/Attic/Gen_fmgrtab.sh.in,v 1.1
7 2000/01/10 20:23:29
momjian Exp $
*
* NOTES
*
...
...
src/include/catalog/pg_type.h
View file @
dd8b0e67
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_type.h,v 1.7
3 2000/01/10 16:13:2
1 momjian Exp $
* $Id: pg_type.h,v 1.7
4 2000/01/10 20:23:3
1 momjian Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
...
...
@@ -47,7 +47,6 @@ CATALOG(pg_type) BOOTSTRAP
* is -1.
*/
int2
typprtlen
;
bool
typbyval
;
/*
* typbyval determines whether internal Postgres routines pass a value
...
...
@@ -59,6 +58,7 @@ CATALOG(pg_type) BOOTSTRAP
* even if the length would allow pass-by-value; this is currently
* true for type float4, for example.
*/
bool
typbyval
;
char
typtype
;
/*
...
...
@@ -174,8 +174,8 @@ DATA(insert OID = 21 ( int2 PGUID 2 5 t b t \054 0 0 int2in int2out int2
DESCR
(
"-32 thousand to 32 thousand, 2-byte storage"
);
#define INT2OID 21
DATA
(
insert
OID
=
22
(
int2vector
PGUID
16
50
f
b
t
\
054
0
21
int2vectorin
int2vectorout
int2vectorin
int2vectorout
i
_null_
));
DESCR
(
"
8
int2 integers, used internally"
);
DATA
(
insert
OID
=
22
(
int2vector
PGUID
32
113
f
b
t
\
054
0
21
int2vectorin
int2vectorout
int2vectorin
int2vectorout
i
_null_
));
DESCR
(
"
16
int2 integers, used internally"
);
/*
* XXX -- the implementation of int2vector's in postgres is a hack, and will
* go away someday. until that happens, there is a case (in the
...
...
@@ -213,8 +213,8 @@ DATA(insert OID = 29 ( cid PGUID 4 10 t b t \054 0 0 cidin cidout cidin
DESCR
(
"command identifier type, sequence in transaction id"
);
#define CIDOID 29
DATA
(
insert
OID
=
30
(
oidvector
PGUID
32
89
f
b
t
\
054
0
26
oidvectorin
oidvectorout
oidvectorin
oidvectorout
i
_null_
));
DESCR
(
"array of
8
oids, used in system tables"
);
DATA
(
insert
OID
=
30
(
oidvector
PGUID
64
193
f
b
t
\
054
0
26
oidvectorin
oidvectorout
oidvectorin
oidvectorout
i
_null_
));
DESCR
(
"array of
16
oids, used in system tables"
);
DATA
(
insert
OID
=
32
(
SET
PGUID
-
1
-
1
f
b
t
\
054
0
0
textin
textout
textin
textout
i
_null_
));
DESCR
(
"set of tuples"
);
...
...
src/include/config.h.in
View file @
dd8b0e67
...
...
@@ -101,7 +101,7 @@
* pgsql/src/backend/utils/fmgr/fmgr.c and add additional entries
* to the 'case' statement for the additional arguments.
*/
#define INDEX_MAX_KEYS
8
#define INDEX_MAX_KEYS
16
#define FUNC_MAX_ARGS INDEX_MAX_KEYS
/*
...
...
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