Re: why provide cross type arithmetic operators - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: why provide cross type arithmetic operators
Date
Msg-id 200803250241.m2P2fAq00740@momjian.us
Whole thread Raw
In response to why provide cross type arithmetic operators  ("ykhuang" <hyk@ruc.edu.cn>)
Responses Re: why provide cross type arithmetic operators
List pgsql-bugs
Added to TODO:

* Add more cross-data-type operators

  http://archives.postgresql.org/pgsql-bugs/2008-01/msg00189.php


---------------------------------------------------------------------------

ykhuang wrote:
> there are many cross type arithmetic operators, like int2 + int4, int8 +
> int4, I think these can be deleted. Here are the reasons, after deleted,
> int2 + int4 will choose the operator int4 + int4, int8 + int4 choose int8 +
> int8, Is that ok? Thanks.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #3883: Autovacuum deadlock with truncate?
Next
From: Tom Lane
Date:
Subject: Re: why provide cross type arithmetic operators