@ -8,7 +8,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $ PostgreSQL : pgsql / src / backend / nodes / outfuncs . c , v 1.261 .2 .2 2007 / 05 / 22 01 : 40 : 52 tgl Exp $
* $ PostgreSQL : pgsql / src / backend / nodes / outfuncs . c , v 1.261 .2 .3 2007 / 07 / 17 01 : 22 : 03 tgl Exp $
*
*
* NOTES
* NOTES
* Every node type that can appear in stored rules ' parsetrees * must *
* Every node type that can appear in stored rules ' parsetrees * must *
@ -1632,6 +1632,10 @@ _outValue(StringInfo str, Value *value)
/* internal representation already has leading 'b' */
/* internal representation already has leading 'b' */
appendStringInfoString ( str , value - > val . str ) ;
appendStringInfoString ( str , value - > val . str ) ;
break ;
break ;
case T_Null :
/* this is seen only within A_Const, not in transformed trees */
appendStringInfoString ( str , " NULL " ) ;
break ;
default :
default :
elog ( ERROR , " unrecognized node type: %d " , ( int ) value - > type ) ;
elog ( ERROR , " unrecognized node type: %d " , ( int ) value - > type ) ;
break ;
break ;
@ -1659,6 +1663,7 @@ _outAConst(StringInfo str, A_Const *node)
{
{
WRITE_NODE_TYPE ( " A_CONST " ) ;
WRITE_NODE_TYPE ( " A_CONST " ) ;
appendStringInfo ( str , " :val " ) ;
_outValue ( str , & ( node - > val ) ) ;
_outValue ( str , & ( node - > val ) ) ;
WRITE_NODE_FIELD ( typename ) ;
WRITE_NODE_FIELD ( typename ) ;
}
}