Re: patch for between symmetric, asymmetric (from TODO) - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: patch for between symmetric, asymmetric (from TODO)
Date
Msg-id 200506011509.32853.peter_e@gmx.net
Whole thread Raw
In response to patch for between symmetric, asymmetric (from TODO)  (Pavel Stehule <stehule@kix.fsv.cvut.cz>)
Responses Re: patch for between symmetric, asymmetric (from TODO)  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: patch for between symmetric, asymmetric (from TODO)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-patches
Pavel Stehule wrote:
>     I did task from TODO: Add BETWEEN ASYMMETRIC/SYMMETRIC.

The implementation in this patch has the same problems as all the
previously rejected attempts: it evaluates its arguments twice.  You
need to make BETWEEN SYMMETRIC into a separate node type that evaluates
each argument only once.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-patches by date:

Previous
From: Pavel Stehule
Date:
Subject: patch for EXECUTE .. INTO (from TODO)
Next
From: Tom Lane
Date:
Subject: Re: patch for between symmetric, asymmetric (from TODO)