Yes, exactly :)

On Mon, Jun 20, 2011 at 7:41 PM, Kevin Grittner
<kevin.gritt...@wicourts.gov> wrote:
> I expect you're hoping for a plan similar to what this gives you?:
>
> explain analyze select greatest(
>  (select max(timestamp) from sms where number = '5502712'),
>  (select max(timestamp) from sms where number = '5802693'),
>  (select max(timestamp) from sms where number = '5801981'));

-- 
Vladimir Kulev
Mobile: +7 (921) 555-44-22

Jabber: m...@lightoze.net

Skype: lightoze

-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

Reply via email to