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

From Pavel Stehule
Subject patch for between symmetric, asymmetric (from TODO)
Date
Msg-id Pine.LNX.4.44.0506011111050.27735-200000@kix.fsv.cvut.cz
Whole thread Raw
Responses Re: patch for between symmetric, asymmetric (from TODO)  (Peter Eisentraut <peter_e@gmx.net>)
Re: patch for between symmetric, asymmetric (from TODO)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Hello

    I did task from TODO: Add BETWEEN ASYMMETRIC/SYMMETRIC.

SELECT 2 BETWEEN 1 AND 5 -> true
SELECT 2 BETWEEN 5 AND 1 -> false
SELECT 2 BETWEEN SYMMETRIC 5 AND 1 -> true

this patch is based on Robert's B. Easter work from 2001 year.
http://archives.postgresql.org/pgsql-patches/2001-01/msg00022.php

it's trivial, only small change in parser.

Best regards
Pavel Stehule



Attachment

pgsql-patches by date:

Previous
From: Joe Conway
Date:
Subject: Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp.
Next
From: Pavel Stehule
Date:
Subject: patch for EXECUTE .. INTO (from TODO)