Fixes:
Here's a couple more small fixes that I've made to make my runtime checker happy with the code. More along the lines of those that I sent in the past, ie, a pointer to an array != the name of an array. The last patch is that I mailed about yesterday -- I got two replies of "do it", so it's done. As far as I can tell, however, the function in question is never called by pg95, so either way it can't hurt... From: "Kurt J. Lidl" <lidl@va.pubnix.com>
This commit is contained in:
parent
77e01653bc
commit
60b1123f5e
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.1.1.1 1996/07/09 06:21:15 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.2 1996/08/19 13:32:07 scrappy Exp $
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* INTERFACE ROUTINES
|
* INTERFACE ROUTINES
|
||||||
@ -992,7 +992,7 @@ index_create(char *heapRelationName,
|
|||||||
AttrNumber attNums[],
|
AttrNumber attNums[],
|
||||||
Oid classObjectId[],
|
Oid classObjectId[],
|
||||||
uint16 parameterCount,
|
uint16 parameterCount,
|
||||||
Datum parameter[],
|
Datum *parameter,
|
||||||
Node *predicate)
|
Node *predicate)
|
||||||
{
|
{
|
||||||
Relation heapRelation;
|
Relation heapRelation;
|
||||||
@ -1610,7 +1610,7 @@ index_build(Relation heapRelation,
|
|||||||
int numberOfAttributes,
|
int numberOfAttributes,
|
||||||
AttrNumber attributeNumber[],
|
AttrNumber attributeNumber[],
|
||||||
uint16 parameterCount,
|
uint16 parameterCount,
|
||||||
Datum parameter[],
|
Datum *parameter,
|
||||||
FuncIndexInfo *funcInfo,
|
FuncIndexInfo *funcInfo,
|
||||||
PredInfo *predInfo)
|
PredInfo *predInfo)
|
||||||
{
|
{
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: index.h,v 1.1.1.1 1996/07/09 06:21:15 scrappy Exp $
|
* $Id: index.h,v 1.2 1996/08/19 13:32:08 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -36,7 +36,7 @@ extern void index_create(char *heapRelationName,
|
|||||||
AttrNumber attNums[],
|
AttrNumber attNums[],
|
||||||
Oid classObjectId[],
|
Oid classObjectId[],
|
||||||
uint16 parameterCount,
|
uint16 parameterCount,
|
||||||
Datum parameter[],
|
Datum *parameter,
|
||||||
Node *predicate);
|
Node *predicate);
|
||||||
|
|
||||||
extern void index_destroy(Oid indexId);
|
extern void index_destroy(Oid indexId);
|
||||||
@ -53,7 +53,7 @@ extern void FillDummyExprContext(ExprContext *econtext, TupleTableSlot *slot,
|
|||||||
|
|
||||||
extern void index_build(Relation heapRelation, Relation indexRelation,
|
extern void index_build(Relation heapRelation, Relation indexRelation,
|
||||||
int numberOfAttributes, AttrNumber attributeNumber[],
|
int numberOfAttributes, AttrNumber attributeNumber[],
|
||||||
uint16 parameterCount, Datum parameter[], FuncIndexInfo *funcInfo,
|
uint16 parameterCount, Datum *parameter, FuncIndexInfo *funcInfo,
|
||||||
PredInfo *predInfo);
|
PredInfo *predInfo);
|
||||||
|
|
||||||
#endif /* INDEX_H */
|
#endif /* INDEX_H */
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.1.1.1 1996/07/09 06:21:32 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.2 1996/08/19 13:32:14 scrappy Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -589,7 +589,7 @@ _copyResdom(Resdom *from)
|
|||||||
static Fjoin *
|
static Fjoin *
|
||||||
_copyFjoin(Fjoin *from)
|
_copyFjoin(Fjoin *from)
|
||||||
{
|
{
|
||||||
Fjoin *newnode;
|
Fjoin *newnode = makeNode(Fjoin);
|
||||||
|
|
||||||
/* ----------------
|
/* ----------------
|
||||||
* copy node superclass fields
|
* copy node superclass fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user