Fix for constbyval.

This commit is contained in:
Bruce Momjian 1998-10-01 22:51:22 +00:00
parent 33572dd7ed
commit c17b2d1b16
2 changed files with 26 additions and 27 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.34 1998/09/01 04:30:30 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.35 1998/10/01 22:51:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -627,7 +627,7 @@ parser_typecast2(Node *expr, Oid exprType, Type tp, int32 atttypmod)
(Size) len,
(Datum) lcp,
false,
false, /* was omitted */
typeByVal(tp),
false, /* not a set */
true /* is cast */ );

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: makefuncs.h,v 1.14 1998/09/01 04:36:37 momjian Exp $
* $Id: makefuncs.h,v 1.15 1998/10/01 22:51:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -18,36 +18,35 @@
#include <utils/fcache.h>
extern Oper *makeOper(Oid opno,
Oid opid,
Oid opresulttype,
int opsize,
FunctionCachePtr op_fcache);
Oid opid,
Oid opresulttype,
int opsize,
FunctionCachePtr op_fcache);
extern Var *makeVar(Index varno,
AttrNumber varattno,
Oid vartype,
int32 vartypmod,
Index varlevelsup,
Index varnoold,
AttrNumber varoattno);
AttrNumber varattno,
Oid vartype,
int32 vartypmod,
Index varlevelsup,
Index varnoold,
AttrNumber varoattno);
extern TargetEntry *
makeTargetEntry(Resdom *resdom, Node *expr);
extern TargetEntry *makeTargetEntry(Resdom *resdom, Node *expr);
extern Resdom *makeResdom(AttrNumber resno,
Oid restype,
int32 restypmod,
char *resname,
Index reskey,
Oid reskeyop,
int resjunk);
Oid restype,
int32 restypmod,
char *resname,
Index reskey,
Oid reskeyop,
int resjunk);
extern Const *makeConst(Oid consttype,
int constlen,
Datum constvalue,
bool constisnull,
bool constbyval,
bool constisset,
bool constiscast);
int constlen,
Datum constvalue,
bool constisnull,
bool constbyval,
bool constisset,
bool constiscast);
#endif /* MAKEFUNC_H */