]> granicus.if.org Git - postgresql/blobdiff - src/backend/nodes/equalfuncs.c
Make the behavior of HAVING without GROUP BY conform to the SQL spec.
[postgresql] / src / backend / nodes / equalfuncs.c
index 8430eddf69c96418111371a5c35ab0b63a945d0f..f80da7572b5270f03987a7752c82a828371444b7 100644 (file)
@@ -18,7 +18,7 @@
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.235 2005/01/27 03:17:45 tgl Exp $
+ *       $PostgreSQL: pgsql/src/backend/nodes/equalfuncs.c,v 1.236 2005/03/10 23:21:21 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -661,14 +661,10 @@ _equalQuery(Query *a, Query *b)
        COMPARE_NODE_FIELD(limitCount);
        COMPARE_NODE_FIELD(setOperations);
        COMPARE_NODE_FIELD(resultRelations);
-       COMPARE_NODE_FIELD(in_info_list);
-       COMPARE_SCALAR_FIELD(hasJoinRTEs);
 
        /*
-        * We do not check the other planner internal fields: base_rel_list,
-        * other_rel_list, join_rel_list, equi_key_list, query_pathkeys. They
-        * might not be set yet, and in any case they should be derivable from
-        * the other fields.
+        * We do not check the planner-internal fields.  They might not be set
+        * yet, and in any case they should be derivable from the other fields.
         */
        return true;
 }