Re: Adding order bys to the view definitions (7.4)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: elein <elein(at)varlena(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Adding order bys to the view definitions (7.4)
Date: 2005-12-02 21:02:23
Message-ID: 7067.1133557343@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

elein <elein(at)varlena(dot)com> writes:
> Is there any case when PostgreSQL adds an order by
> to a view *definition* in 7.4?

I believe SELECT DISTINCT (or DISTINCT ON) will do that.
I have a vague recollection that GROUP BY might have done
so at one time as well, but it seems not to anymore.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-12-02 21:05:28 Re: Numeric 508 datatype
Previous Message Simon Riggs 2005-12-02 21:01:32 Re: Numeric 508 datatype