Re: util/int8.h: missing int8_text() function

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: util/int8.h: missing int8_text() function
Дата
Msg-id 48055CF7.7020603@postnewspapers.com.au
обсуждение исходный текст
Ответ на util/int8.h: missing int8_text() function  (Michael Enke <michael.enke@wincor-nixdorf.com>)
Список pgsql-general
Michael Enke wrote:
> Hi all,
> I migrate from 8.1 to 8.3.
> In 8.2.7 and previous there are functions int4_text() and int8_text(),
> in 8.3.0 they are missing (not documented that they are removed in the
> release notes).
> What I'm supposed to use instead of int8_text() now?

Probably an explicit cast, such as

CAST(4444::int8 AS text)

CAST('4444' AS int8)

etc.

I don't know, but I'd guess that this is related to the removal of all
the implicit casts to text from 8.3 .

--
Craig Ringer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Installation of contrib/tablefunc - problems
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: How to recovery data from folder data installation?