Re: question about count(b) where b is a custom type

From: Hannu Krosing <hannu(at)skype(dot)net>
To: Grzegorz Jaskiewicz <gj(at)pointblue(dot)com(dot)pl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: question about count(b) where b is a custom type
Date: 2005-11-16 12:42:39
Message-ID: 1132144960.4691.8.camel@fuji.krosing.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On K, 2005-11-16 at 10:05 +0100, Grzegorz Jaskiewicz wrote:
> Hi folks
>
> We're developing here gist index (which works finally, and I remember
> about writing some docs about it).
> I have few fprintf(stderr,""") in function that converts internal
> rep. into string. I was really supprised to see them on me screen when :
> select count(b) from blah where b ~ 'something';
> was issued. What the hell, isn't it wrong ? I don't need strings to
> count results, right ?

I gess you need the rep in b ~ 'something'

> IMO this is a serious bug.
> What do yah think ?
>
>
--
Hannu Krosing <hannu(at)skype(dot)net>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pollard, Mike 2005-11-16 12:54:25 Re: question about count(b) where b is a custom type
Previous Message Martijn van Oosterhout 2005-11-16 12:30:13 Re: question about count(b) where b is a custom type