Re: [HACKERS] regression: select_views.sql - Mailing list pgsql-hackers

From Thomas G. Lockhart
Subject Re: [HACKERS] regression: select_views.sql
Date
Msg-id 34F249B1.BB202B1E@alumni.caltech.edu
Whole thread Raw
In response to regression: select_views.sql  ("Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>)
List pgsql-hackers
Vadim B. Mikheev wrote:

> Thomas G. Lockhart wrote:
> >
> > > DATA(insert OID =  793 (  "<"      PGUID 0 b t f  602  602  701  ... path_n_lt ...
> > >                                                             ^^^
> > >                               this is float8 but path_n_lt() returns bool...
> > >
> > > The same for all path_n_* funcs (may be others too)...
> >
> > I'll fix this...
>
> Nice. There are other invalids:
>
> vac=> select oprname, oprcode from pg_operator where oprcanhash and oprname <> '=';
> oprname|oprcode
> -------+------------
> ~=     |intervalsame
> ^^^^^^^^^^^^^^^^^^^^ ok, but others are not!
> <>     |intervalne
> <      |intervallt
> >      |intervalgt
> <=     |intervalle
> >=     |intervalge
> (6 rows)

Hmm. Those look like they support the "time interval" type, which I haven't been updating
because it is based on abstime; I'm more interested in the wider-range/more-precise
datetime-based stuff. I would think about rewriting the time interval routines, but
assume it was used somewhere in the backend to support time travel. Don't know if it is
still in there somewhere...

                                           - Tom


pgsql-hackers by date:

Previous
From: Henry Spencer
Date:
Subject: Re: [HACKERS] Re: Appended a string of text to each line in a file
Next
From: "Vadim B. Mikheev"
Date:
Subject: Re: [HACKERS] regression: select_views.sql