From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | "m(dot) hvostinski" <makhvost(at)gmail(dot)com> |
Cc: | Stephen Frost <sfrost(at)snowman(dot)net>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Is it possible to make the order of output the same as the order of input parameters? |
Date: | 2010-06-02 15:24:08 |
Message-ID: | 20100602152408.GF6953@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Jun 02, 2010 at 11:06:06AM -0400, m. hvostinski wrote:
> Thanks to all for the feedback. I keep getting impressed by how
> flexible PostgreSQL is.
>
> Any ideas which query should perform better? I put together all the
> suggested approaches below.
Testing beats theorizing any day. The array-based approaches are
there pretty much for convenience, i.e. for not having to input the
numbers more than once, as they could easily get mistyped if you need
to repeat them.
Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Adam_Crews | 2010-06-02 15:28:13 | Detecting if the DB is in backup mode or not |
Previous Message | Yeb Havinga | 2010-06-02 15:18:45 | Re: Is it possible to make the order of output the same as the order of input parameters? |