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
bd52f4bf
Commit
bd52f4bf
authored
Jan 11, 2000
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More cleanups. Still doesn't work.
parent
aadd14b8
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
16 deletions
+13
-16
src/backend/access/common/indextuple.c
src/backend/access/common/indextuple.c
+3
-4
src/backend/commands/indexcmds.c
src/backend/commands/indexcmds.c
+3
-3
src/backend/libpq/be-pqexec.c
src/backend/libpq/be-pqexec.c
+3
-3
src/backend/optimizer/util/plancat.c
src/backend/optimizer/util/plancat.c
+1
-3
src/backend/tcop/fastpath.c
src/backend/tcop/fastpath.c
+3
-3
No files found.
src/backend/access/common/indextuple.c
View file @
bd52f4bf
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.
39 1999/10/23 03:13:20 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.
40 2000/01/11 03:33:11 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -44,9 +44,8 @@ index_formtuple(TupleDesc tupleDescriptor,
...
@@ -44,9 +44,8 @@ index_formtuple(TupleDesc tupleDescriptor,
uint16
tupmask
=
0
;
uint16
tupmask
=
0
;
int
numberOfAttributes
=
tupleDescriptor
->
natts
;
int
numberOfAttributes
=
tupleDescriptor
->
natts
;
/* XXX shouldn't this test be '>' ? */
if
(
numberOfAttributes
>
INDEX_MAX_KEYS
)
if
(
numberOfAttributes
>=
INDEX_MAX_KEYS
)
elog
(
ERROR
,
"index_formtuple: numberOfAttributes %d > %d"
,
elog
(
ERROR
,
"index_formtuple: numberOfAttributes %d >= %d"
,
numberOfAttributes
,
INDEX_MAX_KEYS
);
numberOfAttributes
,
INDEX_MAX_KEYS
);
for
(
i
=
0
;
i
<
numberOfAttributes
&&
!
hasnull
;
i
++
)
for
(
i
=
0
;
i
<
numberOfAttributes
&&
!
hasnull
;
i
++
)
...
...
src/backend/commands/indexcmds.c
View file @
bd52f4bf
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.1
7 2000/01/10 17:14:32
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.1
8 2000/01/11 03:33:11
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -258,10 +258,10 @@ ExtendIndex(char *indexRelationName, Expr *predicate, List *rangetable)
...
@@ -258,10 +258,10 @@ ExtendIndex(char *indexRelationName, Expr *predicate, List *rangetable)
relationId
=
index
->
indrelid
;
relationId
=
index
->
indrelid
;
indproc
=
index
->
indproc
;
indproc
=
index
->
indproc
;
for
(
i
=
0
;
i
<
INDEX_MAX_KEYS
;
i
++
)
for
(
i
=
INDEX_MAX_KEYS
-
1
;
i
>=
0
;
i
--
)
if
(
index
->
indkey
[
i
]
==
InvalidAttrNumber
)
if
(
index
->
indkey
[
i
]
==
InvalidAttrNumber
)
break
;
break
;
numberOfAttributes
=
i
;
numberOfAttributes
=
i
+
1
;
if
(
VARSIZE
(
&
index
->
indpred
)
!=
0
)
if
(
VARSIZE
(
&
index
->
indpred
)
!=
0
)
{
{
...
...
src/backend/libpq/be-pqexec.c
View file @
bd52f4bf
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.2
7 2000/01/11 02:30:06
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.2
8 2000/01/11 03:33:12
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -80,8 +80,8 @@ PQfn(int fnid,
...
@@ -80,8 +80,8 @@ PQfn(int fnid,
*/
*/
retval
=
(
char
*
)
retval
=
(
char
*
)
fmgr
(
fnid
,
arg
[
0
],
arg
[
1
],
arg
[
2
],
arg
[
3
],
fmgr
(
fnid
,
arg
[
0
],
arg
[
1
],
arg
[
2
],
arg
[
3
],
arg
[
4
],
arg
[
5
],
arg
[
6
],
arg
[
7
]
);
arg
[
4
],
arg
[
5
],
arg
[
6
],
arg
[
7
]
,
arg
[
8
],
arg
[
9
],
arg
[
10
],
arg
[
11
]
);
arg
[
8
],
arg
[
9
],
arg
[
10
],
arg
[
11
]
,
arg
[
12
],
arg
[
13
],
arg
[
14
],
arg
[
15
]);
arg
[
12
],
arg
[
13
],
arg
[
14
],
arg
[
15
]);
/* ----------------
/* ----------------
...
...
src/backend/optimizer/util/plancat.c
View file @
bd52f4bf
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.4
1 2000/01/09 00:26:40 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.4
2 2000/01/11 03:33:13 momjian
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -120,10 +120,8 @@ find_secondary_indexes(Query *root, Index relid)
...
@@ -120,10 +120,8 @@ find_secondary_indexes(Query *root, Index relid)
for
(
i
=
0
;
i
<
INDEX_MAX_KEYS
;
i
++
)
for
(
i
=
0
;
i
<
INDEX_MAX_KEYS
;
i
++
)
info
->
indexkeys
[
i
]
=
index
->
indkey
[
i
];
info
->
indexkeys
[
i
]
=
index
->
indkey
[
i
];
info
->
indexkeys
[
INDEX_MAX_KEYS
]
=
0
;
for
(
i
=
0
;
i
<
INDEX_MAX_KEYS
;
i
++
)
for
(
i
=
0
;
i
<
INDEX_MAX_KEYS
;
i
++
)
info
->
classlist
[
i
]
=
index
->
indclass
[
i
];
info
->
classlist
[
i
]
=
index
->
indclass
[
i
];
info
->
classlist
[
INDEX_MAX_KEYS
]
=
(
Oid
)
0
;
/* Extract info from the relation descriptor for the index */
/* Extract info from the relation descriptor for the index */
indexRelation
=
index_open
(
index
->
indexrelid
);
indexRelation
=
index_open
(
index
->
indexrelid
);
...
...
src/backend/tcop/fastpath.c
View file @
bd52f4bf
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.3
4 2000/01/11 02:46:48
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.3
5 2000/01/11 03:33:14
momjian Exp $
*
*
* NOTES
* NOTES
* This cruft is the server side of PQfn.
* This cruft is the server side of PQfn.
...
@@ -363,8 +363,8 @@ HandleFunctionRequest()
...
@@ -363,8 +363,8 @@ HandleFunctionRequest()
#ifndef NO_FASTPATH
#ifndef NO_FASTPATH
retval
=
fmgr
(
fid
,
retval
=
fmgr
(
fid
,
arg
[
0
],
arg
[
1
],
arg
[
2
],
arg
[
3
],
arg
[
0
],
arg
[
1
],
arg
[
2
],
arg
[
3
],
arg
[
4
],
arg
[
5
],
arg
[
6
],
arg
[
7
]
);
arg
[
4
],
arg
[
5
],
arg
[
6
],
arg
[
7
]
,
arg
[
8
],
arg
[
9
],
arg
[
10
],
arg
[
11
]
);
arg
[
8
],
arg
[
9
],
arg
[
10
],
arg
[
11
]
,
arg
[
12
],
arg
[
13
],
arg
[
14
],
arg
[
15
]);
arg
[
12
],
arg
[
13
],
arg
[
14
],
arg
[
15
]);
#else
#else
...
...
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