3
3
*back to source text
4
4
*
5
5
* IDENTIFICATION
6
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.78 2001/06/19 22:39:12 tgl Exp $
6
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.79 2001/07/10 00:02:02 tgl Exp $
7
7
*
8
8
* This software is copyrighted by Jan Wieck - Hamburg.
9
9
*
@@ -1951,15 +1951,15 @@ get_rule_expr(Node *node, deparse_context *context)
1951
1951
{
1952
1952
NullTest * ntest = (NullTest * )node ;
1953
1953
1954
- appendStringInfo (buf ,"(( " );
1954
+ appendStringInfo (buf ,"(" );
1955
1955
get_rule_expr (ntest -> arg ,context );
1956
1956
switch (ntest -> nulltesttype )
1957
1957
{
1958
1958
case IS_NULL :
1959
- appendStringInfo (buf ,") IS NULL)" );
1959
+ appendStringInfo (buf ," IS NULL)" );
1960
1960
break ;
1961
1961
case IS_NOT_NULL :
1962
- appendStringInfo (buf ,") IS NOT NULL)" );
1962
+ appendStringInfo (buf ," IS NOT NULL)" );
1963
1963
break ;
1964
1964
default :
1965
1965
elog (ERROR ,"get_rule_expr: unexpected nulltesttype %d" ,
@@ -1972,27 +1972,27 @@ get_rule_expr(Node *node, deparse_context *context)
1972
1972
{
1973
1973
BooleanTest * btest = (BooleanTest * )node ;
1974
1974
1975
- appendStringInfo (buf ,"(( " );
1975
+ appendStringInfo (buf ,"(" );
1976
1976
get_rule_expr (btest -> arg ,context );
1977
1977
switch (btest -> booltesttype )
1978
1978
{
1979
1979
case IS_TRUE :
1980
- appendStringInfo (buf ,") IS TRUE)" );
1980
+ appendStringInfo (buf ," IS TRUE)" );
1981
1981
break ;
1982
1982
case IS_NOT_TRUE :
1983
- appendStringInfo (buf ,") IS NOT TRUE)" );
1983
+ appendStringInfo (buf ," IS NOT TRUE)" );
1984
1984
break ;
1985
1985
case IS_FALSE :
1986
- appendStringInfo (buf ,") IS FALSE)" );
1986
+ appendStringInfo (buf ," IS FALSE)" );
1987
1987
break ;
1988
1988
case IS_NOT_FALSE :
1989
- appendStringInfo (buf ,") IS NOT FALSE)" );
1989
+ appendStringInfo (buf ," IS NOT FALSE)" );
1990
1990
break ;
1991
1991
case IS_UNKNOWN :
1992
- appendStringInfo (buf ,") IS UNKNOWN)" );
1992
+ appendStringInfo (buf ," IS UNKNOWN)" );
1993
1993
break ;
1994
1994
case IS_NOT_UNKNOWN :
1995
- appendStringInfo (buf ,") IS NOT UNKNOWN)" );
1995
+ appendStringInfo (buf ," IS NOT UNKNOWN)" );
1996
1996
break ;
1997
1997
default :
1998
1998
elog (ERROR ,"get_rule_expr: unexpected booltesttype %d" ,