Re: Bug?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Bug?
Date: 2001-08-11 00:53:49
Message-ID: 12833.997491229@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?iso-8859-1?q?Mart=EDn=20Marqu=E9s?= <martin(at)bugs(dot)unl(dot)edu(dot)ar> writes:
> What's wrong with this query that used to work great:

Impossible to tell, with that amount of information.

> As you can see count(*) is 1, even seeing 2 rows selected. What's wrong?

Since it's a GROUP BY query, that's not necessarily wrong. The counts
are the number of input rows in each group.

regards, tom lane

In response to

  • Bug? at 2001-08-10 23:58:54 from Martín Marqués

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lance Taylor 2001-08-11 01:05:30 Select parser at runtime
Previous Message Tom Lane 2001-08-11 00:40:16 Re: PL/pgSQL bug?