Re: [HACKERS] Timespan_div misbehaving?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Reifenberger <root(at)nihil(dot)plaut(dot)de>
Cc: PostgreSQL Hackers <hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Timespan_div misbehaving?
Date: 1999-03-08 15:21:29
Message-ID: 6342.920906489@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Reifenberger <root(at)nihil(dot)plaut(dot)de> writes:
> catalog/local1_template1.bki.source:insert OID = 1585 ( "/" PGUID 0 b t f 1186
> 1186 1186 0 0 0 0 timespan_div - - )

> OR are the three 1186's wrong?
> Shouldn't at least the second input type be 701?

I think you are right --- the only timespan_div I can find in the source
code is TimeSpan *timespan_div(TimeSpan *span1, float8 *arg2) in adt/dt.c.
It looks like the entry for it in pg_proc is right, but the one in
pg_operator is wrong.

Hmm, a whole new class of cross-checks that opr_sanity ought to make ;-)

regards, tom lane

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-03-08 15:32:04 Re: [HACKERS] What's happened with 1942
Previous Message Tom Lane 1999-03-08 14:39:05 Re: [HACKERS] palloc.h again