Re: We are not following the spec for HAVING without GROUP BY - Mailing list pgsql-hackers

From Jaime Casanova
Subject Re: We are not following the spec for HAVING without GROUP BY
Date
Msg-id c2d9e70e05031012143fddf4c1@mail.gmail.com
Whole thread Raw
In response to Re: We are not following the spec for HAVING without GROUP BY  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [BUGS] We are not following the spec for HAVING without GROUP  (John R Pierce <pierce@hogranch.com>)
List pgsql-hackers
On Thu, 10 Mar 2005 12:44:50 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Would those of you with access to other DBMSes try this:
> 
On informix 9.21.UC4

> create table tab (col integer);
> select 1 from tab having 1=0;
>
returns no rows

> select 1 from tab having 1=1;
>
returns no rows

> insert into tab values(1);
> insert into tab values(2);
> select 1 from tab having 1=0;
> 
returns no rows

> select 1 from tab having 1=1;
> 
returns 2 rows

regards, 
Jaime Casanova


pgsql-hackers by date:

Previous
From: johnnnnnn
Date:
Subject: Re: We are not following the spec for HAVING without GROUP BY
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] Repleacement for src/port/snprintf.c