Re: MySQL search query is not executing in Postgres DB

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: MySQL search query is not executing in Postgres DB
Дата
Msg-id CAM-w4HPdRoJutHksr-bVkou=D=Y3hT_X2+dgOgec_g-PMcwREA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: MySQL search query is not executing in Postgres DB  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: MySQL search query is not executing in Postgres DB
Список pgsql-hackers
On Mon, Aug 27, 2012 at 10:03 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> We really ought to put some effort into solving this problem.  I've
> seen a few Oracle-migration talks at conferences, and *every one* of
> them has mentioned the smallint problem.  It hits our customers, too.

I'm kind of puzzled how Oracle-migration talks talk about a smallint
problem given that Oracle only has NUMBER which is a variable-sized
data type. Why would Oracle people end up with an f(smallint) at all?

Perhaps just a warning on CREATE FUNCTION when one of the arguments
doesn't have an implicit cast from the canonical data type of that
hierarchy saying perhaps you should consider using that data type and
let Postgres convert instead of the more specific data type?

-- 
greg



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Use of systable_beginscan_ordered in event trigger patch
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql: tab-completion fails SET var=