On Fri, Mar 19, 2010 at 2:09 PM, Gurjeet Singh <singh.gurj...@gmail.com> wrote: > Is there a way to avoid this double evaluation?
Maybe with a CTE? WITH x AS (...) SELECT ... It does look like surprising behavior. ...Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers