Re: sign function with INTERVAL? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: sign function with INTERVAL?
Date
Msg-id 21224.1460576105@sss.pgh.pa.us
Whole thread Raw
In response to Re: sign function with INTERVAL?  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: sign function with INTERVAL?  (Daniel Lenski <dlenski@gmail.com>)
List pgsql-hackers
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> Actually, after looking at the code for interval_lt, all that needs to
> happen to add this support is to expose interval_cmp_internal() as a
> strict function. It already does exactly what you want.

interval_cmp() is already SQL-accessible.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [patch] \crosstabview documentation
Next
From: Robert Haas
Date:
Subject: Re: Odd system-column handling in postgres_fdw join pushdown patch