Re: [HACKERS] sign function with INTERVAL?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
Cc: Daniel Lenski <dlenski(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] sign function with INTERVAL?
Date: 2016-04-13 19:35:05
Message-ID: 21224.1460576105@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Kohll 2016-04-13 19:41:07 Re: SET prepared statement
Previous Message Tom Lane 2016-04-13 19:28:11 Re: [GENERAL] pg_upgrade error regarding hstore operator

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-04-13 19:57:31 Re: Odd system-column handling in postgres_fdw join pushdown patch
Previous Message Tom Lane 2016-04-13 19:29:59 Re: [patch] \crosstabview documentation