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