aboutsummaryrefslogtreecommitdiff
path: root/src/backend/nodes/makefuncs.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1997-01-22 01:44:02 +0000
committerBruce Momjian <bruce@momjian.us>1997-01-22 01:44:02 +0000
commit84876289cc834819c516e28d93bd52569e49e993 (patch)
tree1ffce2e63888a5566f41b597383850d9eb412a3e /src/backend/nodes/makefuncs.c
parenta4ee68d1d4d1c09f65a6f4b9f5c3cb6130eb953a (diff)
downloadpostgresql-84876289cc834819c516e28d93bd52569e49e993.tar.gz
postgresql-84876289cc834819c516e28d93bd52569e49e993.zip
Cast constants to the type of the other binary operand.
Invalidate vacuum relation cache to use new row counts from vacuum.
Diffstat (limited to 'src/backend/nodes/makefuncs.c')
-rw-r--r--src/backend/nodes/makefuncs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/backend/nodes/makefuncs.c b/src/backend/nodes/makefuncs.c
index a461524e7ad..18894e8a41c 100644
--- a/src/backend/nodes/makefuncs.c
+++ b/src/backend/nodes/makefuncs.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.1.1.1 1996/07/09 06:21:32 scrappy Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/makefuncs.c,v 1.2 1997/01/22 01:42:26 momjian Exp $
*
* NOTES
* Creator functions in POSTGRES 4.2 are generated automatically. Most of
@@ -102,7 +102,8 @@ makeConst(Oid consttype,
Datum constvalue,
bool constisnull,
bool constbyval,
- bool constisset)
+ bool constisset,
+ bool constiscast)
{
Const *cnst = makeNode(Const);
@@ -112,6 +113,7 @@ makeConst(Oid consttype,
cnst->constisnull = constisnull;
cnst->constbyval = constbyval;
cnst->constisset = constisset;
+ cnst->constiscast = constiscast;
return cnst;
}