Re: Book - SQL Aggregates

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Max Buvry <Max(dot)Buvry(at)enseeiht(dot)fr>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Book - SQL Aggregates
Date: 1999-12-07 03:27:22
Message-ID: 199912070327.WAA19865@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> %--
> %--> Dear sir,
> %-->
> %--> Just one remark for your book :
> %--> in your chapter "SQL Aggregates", it is interessant perhaps if you
> %--> say if COUNT(DISTINCT ...) for example is supported.
> %-->
> %--> mb
> %-->
> %--
> %--It isn't supported.
> %--
>
> Sorry, I just want to say "It is not supported" obviously. I think, it is
> important to say it, because I search for my mistake a little bit before
> finding the answer in the FAQ.

CC to hackers.

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. No hunting around, but I am not sure how to do that in the
grammer because we don't find out about aggregates until later.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-12-07 03:28:49 Re: [HACKERS] RAW I/O device
Previous Message Bruce Momjian 1999-12-07 03:24:24 Re: [HACKERS] RAW I/O device