mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Fix for constbyval.
This commit is contained in:
parent
33572dd7ed
commit
c17b2d1b16
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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,
|
(Size) len,
|
||||||
(Datum) lcp,
|
(Datum) lcp,
|
||||||
false,
|
false,
|
||||||
false, /* was omitted */
|
typeByVal(tp),
|
||||||
false, /* not a set */
|
false, /* not a set */
|
||||||
true /* is cast */ );
|
true /* is cast */ );
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* 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>
|
#include <utils/fcache.h>
|
||||||
|
|
||||||
extern Oper *makeOper(Oid opno,
|
extern Oper *makeOper(Oid opno,
|
||||||
Oid opid,
|
Oid opid,
|
||||||
Oid opresulttype,
|
Oid opresulttype,
|
||||||
int opsize,
|
int opsize,
|
||||||
FunctionCachePtr op_fcache);
|
FunctionCachePtr op_fcache);
|
||||||
|
|
||||||
extern Var *makeVar(Index varno,
|
extern Var *makeVar(Index varno,
|
||||||
AttrNumber varattno,
|
AttrNumber varattno,
|
||||||
Oid vartype,
|
Oid vartype,
|
||||||
int32 vartypmod,
|
int32 vartypmod,
|
||||||
Index varlevelsup,
|
Index varlevelsup,
|
||||||
Index varnoold,
|
Index varnoold,
|
||||||
AttrNumber varoattno);
|
AttrNumber varoattno);
|
||||||
|
|
||||||
extern TargetEntry *
|
extern TargetEntry *makeTargetEntry(Resdom *resdom, Node *expr);
|
||||||
makeTargetEntry(Resdom *resdom, Node *expr);
|
|
||||||
|
|
||||||
extern Resdom *makeResdom(AttrNumber resno,
|
extern Resdom *makeResdom(AttrNumber resno,
|
||||||
Oid restype,
|
Oid restype,
|
||||||
int32 restypmod,
|
int32 restypmod,
|
||||||
char *resname,
|
char *resname,
|
||||||
Index reskey,
|
Index reskey,
|
||||||
Oid reskeyop,
|
Oid reskeyop,
|
||||||
int resjunk);
|
int resjunk);
|
||||||
|
|
||||||
extern Const *makeConst(Oid consttype,
|
extern Const *makeConst(Oid consttype,
|
||||||
int constlen,
|
int constlen,
|
||||||
Datum constvalue,
|
Datum constvalue,
|
||||||
bool constisnull,
|
bool constisnull,
|
||||||
bool constbyval,
|
bool constbyval,
|
||||||
bool constisset,
|
bool constisset,
|
||||||
bool constiscast);
|
bool constiscast);
|
||||||
|
|
||||||
#endif /* MAKEFUNC_H */
|
#endif /* MAKEFUNC_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user