UNION DISTINCT in doc

From: Hitoshi Harada <umi(dot)tanuki(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: UNION DISTINCT in doc
Date: 2010-10-14 14:37:27
Message-ID: AANLkTin7GPJf4Op7YLpRVqXqoBunssrdf3JdQX3mb16Y@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I found PostgreSQL accepts UNION DISTINCT but documents don't mention it.

http://www.postgresql.org/docs/9.0/static/sql-select.html#SQL-UNION

select_statement UNION [ ALL ] select_statement

UNION DISTINCT is nothing more than UNION itself, but gram.y
definitely accept it and the SQL standard describes it as well. Should
we add DISTINCT to docs?

Regards,

--
Hitoshi Harada

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alastair Turner 2010-10-14 14:39:02 Re: First patch proposal
Previous Message Hitoshi Harada 2010-10-14 14:32:45 Re: First patch proposal