mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Remove unused constisset and constiscast fields of Const nodes. Clean
up code and documentation associated with Param nodes.
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.35 2002/09/18 21:35:21 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.36 2002/11/25 21:29:36 tgl Exp $
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
@ -157,9 +157,7 @@ makeConst(Oid consttype,
|
||||
int constlen,
|
||||
Datum constvalue,
|
||||
bool constisnull,
|
||||
bool constbyval,
|
||||
bool constisset,
|
||||
bool constiscast)
|
||||
bool constbyval)
|
||||
{
|
||||
Const *cnst = makeNode(Const);
|
||||
|
||||
@ -168,8 +166,7 @@ makeConst(Oid consttype,
|
||||
cnst->constvalue = constvalue;
|
||||
cnst->constisnull = constisnull;
|
||||
cnst->constbyval = constbyval;
|
||||
cnst->constisset = constisset;
|
||||
cnst->constiscast = constiscast;
|
||||
|
||||
return cnst;
|
||||
}
|
||||
|
||||
@ -188,9 +185,7 @@ makeNullConst(Oid consttype)
|
||||
(int) typLen,
|
||||
(Datum) 0,
|
||||
true,
|
||||
typByVal,
|
||||
false,
|
||||
false);
|
||||
typByVal);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user