Re: question about count(b) where b is a custom type - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: question about count(b) where b is a custom type
Date
Msg-id 1132144960.4691.8.camel@fuji.krosing.net
Whole thread Raw
In response to question about count(b) where b is a custom type  (Grzegorz Jaskiewicz <gj@pointblue.com.pl>)
List 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@skype.net>



pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: question about count(b) where b is a custom type
Next
From: "Pollard, Mike"
Date:
Subject: Re: question about count(b) where b is a custom type