From: | <gnuoytr(at)rcn(dot)com> |
---|---|
To: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: Useless sort by |
Date: | 2010-09-23 03:05:31 |
Message-ID: | 20100922230531.ALE43726@ms14.lnh.mail.rcn.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
---- Original message ----
>Date: Wed, 22 Sep 2010 20:54:22 -0400
>From: pgsql-performance-owner(at)postgresql(dot)org (on behalf of Robert Haas <robertmhaas(at)gmail(dot)com>)
>Subject: Re: [PERFORM] Useless sort by
>To: Gaetano Mendola <mendola(at)gmail(dot)com>
>Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,pgsql-performance(at)postgresql(dot)org
>
>On Mon, Sep 13, 2010 at 1:09 PM, Gaetano Mendola <mendola(at)gmail(dot)com> wrote:
>> I see your point, but some functions like: unique, count are not affected
>> by the order of values fed, and I don't think either that unique has to
>> give out the unique values in the same fed order.
>
>Gee, I'd sure expect it to.
Spoken like a dyed in the wool COBOL coder. The RM has no need for order; it's set based. I've dabbled in PG for some time, and my sense is increasingly that PG developers are truly code oriented, not database (set) oriented.
robert
>
>--
>Robert Haas
>EnterpriseDB: http://www.enterprisedb.com
>The Enterprise Postgres Company
>
>--
>Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-performance
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2010-09-23 04:01:08 | Re: Useless sort by |
Previous Message | Robert Haas | 2010-09-23 00:54:22 | Re: Useless sort by |