10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d7023c commit 4213e44Copy full SHA for 4213e44
src/backend/nodes/copyfuncs.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.10 1997/09/08 21:43:57 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.11 1997/09/12 22:07:59 momjian Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -725,7 +725,7 @@ _copyConst(Const *from)
725
* puts in the right values here.
726
* ----------------
727
728
- if (cached_type != from->consttype)
+ if (!from->constisnull && cached_type != from->consttype) {
729
{
730
HeapTuple typeTuple;
731
TypeTupleForm typeStruct;
0 commit comments