Re: Fwd: Extending range type operators to cope with elements

From: Esteban Zimanyi <ezimanyi(at)ulb(dot)ac(dot)be>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: David Fetter <david(at)fetter(dot)org>
Subject: Re: Fwd: Extending range type operators to cope with elements
Date: 2020-09-27 14:00:37
Message-ID: CAPqRbE7z7J6kKHp8a9i3BeOaScphMBzMftsK7Gwzh19FbAsXBg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear all

After a long time (as you can imagine, this year everything has been upside
down ...), you will find enclosed the patch for extending the range
operators so they can cope with range <op> element and element <op> range
in addition to the existing range <op> range.

Best regards

Esteban

------------------------------------------------------------
Prof. Esteban Zimanyi
Department of Computer & Decision Engineering (CoDE) CP 165/15
Universite Libre de Bruxelles
Avenue F. D. Roosevelt 50
B-1050 Brussels, Belgium
fax: + 32.2.650.47.13
tel: + 32.2.650.31.85
e-mail: ezimanyi(at)ulb(dot)ac(dot)be
Internet: http://cs.ulb.ac.be/members/esteban/
------------------------------------------------------------

On Tue, Sep 17, 2019 at 5:18 AM David Fetter <david(at)fetter(dot)org> wrote:

> On Sun, Sep 15, 2019 at 04:30:52PM +0200, Esteban Zimanyi wrote:
> > > So yes, I've had a need for those operators in the past. What I don't
> > know is whether adding these functions will be worth the catalog clutter.
> >
> > The operators are tested and running within MobilityDB. It concerns lines
> > 231-657 for the C code in file
> >
> https://github.com/MobilityDB/MobilityDB/blob/master/src/rangetypes_ext.c
> <https://github.com/ULB-CoDE-WIT/MobilityDB/blob/master/src/rangetypes_ext.c>
> >
> > and lines 32-248 for the SQL code in file
> >
> https://github.com/ULB-CoDE-WIT/MobilityDB/blob/master/src/sql/07_rangetypes_ext.in.sql
> >
> > Since you don't really use PR, please let me know whether I can be of
> > any help.
>
> It's not done by pull request at this time. Instead, it is done by sending
> patches to this mailing list.
>
> http://wiki.postgresql.org/wiki/Development_information
> http://wiki.postgresql.org/wiki/Submitting_a_Patch
> https://wiki.postgresql.org/wiki/So,_you_want_to_be_a_developer%3F
> http://www.interdb.jp/pg/
>
> Best,
> David.
> --
> David Fetter <david(at)fetter(dot)org> http://fetter.org/
> Phone: +1 415 235 3778
>
> Remember to vote!
> Consider donating to Postgres: http://www.postgresql.org/about/donate
>

Attachment Content-Type Size
range-ext.patch application/octet-stream 35.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Westermann (DWE) 2020-09-27 15:58:14 Wrong example in the bloom documentation
Previous Message David Rowley 2020-09-27 08:48:20 Re: Get rid of runtime handling of AlternativeSubPlan?