Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc17b2d1

Browse files
committed
Fix for constbyval.
1 parent33572dd commitc17b2d1

File tree

2 files changed

+26
-27
lines changed

2 files changed

+26
-27
lines changed

‎src/backend/parser/parse_expr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.34 1998/09/0104:30:30 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.35 1998/10/0122:51:20 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -627,7 +627,7 @@ parser_typecast2(Node *expr, Oid exprType, Type tp, int32 atttypmod)
627627
(Size)len,
628628
(Datum)lcp,
629629
false,
630-
false,/* was omitted */
630+
typeByVal(tp),
631631
false,/* not a set */
632632
true/* is cast */ );
633633

‎src/include/nodes/makefuncs.h

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: makefuncs.h,v 1.14 1998/09/0104:36:37 momjian Exp $
9+
* $Id: makefuncs.h,v 1.15 1998/10/0122:51:22 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -18,36 +18,35 @@
1818
#include<utils/fcache.h>
1919

2020
externOper*makeOper(Oidopno,
21-
Oidopid,
22-
Oidopresulttype,
23-
intopsize,
24-
FunctionCachePtrop_fcache);
21+
Oidopid,
22+
Oidopresulttype,
23+
intopsize,
24+
FunctionCachePtrop_fcache);
2525

2626
externVar*makeVar(Indexvarno,
27-
AttrNumbervarattno,
28-
Oidvartype,
29-
int32vartypmod,
30-
Indexvarlevelsup,
31-
Indexvarnoold,
32-
AttrNumbervaroattno);
27+
AttrNumbervarattno,
28+
Oidvartype,
29+
int32vartypmod,
30+
Indexvarlevelsup,
31+
Indexvarnoold,
32+
AttrNumbervaroattno);
3333

34-
externTargetEntry*
35-
makeTargetEntry(Resdom*resdom,Node*expr);
34+
externTargetEntry*makeTargetEntry(Resdom*resdom,Node*expr);
3635

3736
externResdom*makeResdom(AttrNumberresno,
38-
Oidrestype,
39-
int32restypmod,
40-
char*resname,
41-
Indexreskey,
42-
Oidreskeyop,
43-
intresjunk);
37+
Oidrestype,
38+
int32restypmod,
39+
char*resname,
40+
Indexreskey,
41+
Oidreskeyop,
42+
intresjunk);
4443

4544
externConst*makeConst(Oidconsttype,
46-
intconstlen,
47-
Datumconstvalue,
48-
boolconstisnull,
49-
boolconstbyval,
50-
boolconstisset,
51-
boolconstiscast);
45+
intconstlen,
46+
Datumconstvalue,
47+
boolconstisnull,
48+
boolconstbyval,
49+
boolconstisset,
50+
boolconstiscast);
5251

5352
#endif/* MAKEFUNC_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp