Re: [HACKERS] Re: Book - SQL Aggregates - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Re: Book - SQL Aggregates
Date
Msg-id 21918.944540994@sss.pgh.pa.us
Whole thread Raw
In response to Re: Book - SQL Aggregates  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> The best way to do that is to display a mess to the user when they try
> COUNT(DISTINCT...).   That makes it easy because they see it as soon as
> they try it.

I was actually thinking about trying to implement aggregate(DISTINCT ...),
or failing that, at least understand why it's hard ;-)

At the very least I think I can manage an explicit "DISTINCT not supported"
error message from the parser.  Will take this as a TODO item.
        regards, tom lane


pgsql-hackers by date:

Previous
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] TLE subselects (was: Raising funds for PostgreSQL)
Next
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] FOREIGN KEY and shift/reduce