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)
Список
Дерево обсуждения
util/int8.h: missing int8_text() function Michael Enke <michael.enke@wincor-nixdorf.com>
Re: util/int8.h: missing int8_text() function Alvaro Herrera <alvherre@commandprompt.com>
Re: util/int8.h: missing int8_text() function Michael Enke <michael.enke@wincor-nixdorf.com>
Re: util/int8.h: missing int8_text() function Martijn van Oosterhout <kleptog@svana.org>
Re: util/int8.h: missing int8_text() function Craig Ringer <craig@postnewspapers.com.au>
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 по дате отправления