Re: implicit type conversions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: implicit type conversions
Дата
Msg-id Pine.LNX.4.44.0306051852290.2050-100000@peter.localdomain
обсуждение исходный текст
Ответ на implicit type conversions  ("Coby Beck" <coby@vec.com.au>)
Список pgsql-general
Coby Beck writes:

> For example, many functions declared on (INTEGER) need to be changed to
> (BIGINT), type (TEXT) is no longer good enough when it is actually an
> integer being passed, things like this.
>
> Is there some kind of global setting or configuration I can modify rather
> than patching things all over the place?  I have mixed feelings on these
> kinds of behind the scenes "favours" but for now I would just like it to
> work...

If you're desperate, you can read up on the system table pg_cast and
modify the column castcontext for the appropriate casting pairs.

--
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: Anonymous CVS access
Следующее
От: Paul Thomas
Дата:
Сообщение: Re: Question about serial vs. int datatypes