Re: why provide cross type arithmetic operators

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: why provide cross type arithmetic operators
Дата
Msg-id 200803250241.m2P2fAq00740@momjian.us
обсуждение исходный текст
Ответ на why provide cross type arithmetic operators  ("ykhuang" <hyk@ruc.edu.cn>)
Ответы Re: why provide cross type arithmetic operators  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #3883: Autovacuum deadlock with truncate?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: why provide cross type arithmetic operators