Re: cash_mul_int8 / cash_div_int8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp>
Cc: PgHacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: cash_mul_int8 / cash_div_int8
Date: 2015-10-07 15:09:30
Message-ID: 25060.1444230570@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Kohei KaiGai <kaigai(at)kaigai(dot)gr(dot)jp> writes:
> I noticed cash_mul_int8 / cash_div_int8 are defined in cash.c,
> however, pg_proc.h and pg_operator.h contains no relevant entries.

> Is it just a careless oversight?

Hm. I'd be inclined to fix that by removing the dead code, since
it's evidently useless. For that matter, I doubt we need the int2
and flt4 variants; might as well depend on automatic promotions.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2015-10-07 15:11:29 Re: cash_mul_int8 / cash_div_int8
Previous Message Magnus Hagander 2015-10-07 15:06:37 Re: bugs and bug tracking