Re: [HACKERS] regression: select_views.sql

Vadim Mikheev <vadim@sable.krasnoyarsk.su>

From: "Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>
To: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
Cc: hackers@postgresql.org
Date: 1998-02-24T04:26:09Z
Lists: pgsql-hackers
Thomas G. Lockhart wrote:
> 
> >
> > 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...

I just say that all these <>, <, >, >=, <= must have FALSE in oprcanhash.
Having TRUE for them is bug.

Vadim