Re: why provide cross type arithmetic operators

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: ykhuang <hyk(at)ruc(dot)edu(dot)cn>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: why provide cross type arithmetic operators
Date: 2008-03-25 02:41:10
Message-ID: 200803250241.m2P2fAq00740@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://postgres.enterprisedb.com

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-03-25 04:59:05 Re: why provide cross type arithmetic operators
Previous Message Bruce Momjian 2008-03-25 02:38:41 Re: BUG #3883: Autovacuum deadlock with truncate?