Re: util/int8.h: missing int8_text() function - Mailing list pgsql-general

From Craig Ringer
Subject Re: util/int8.h: missing int8_text() function
Date
Msg-id 48055CF7.7020603@postnewspapers.com.au
Whole thread Raw
In response to util/int8.h: missing int8_text() function  (Michael Enke <michael.enke@wincor-nixdorf.com>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Installation of contrib/tablefunc - problems
Next
From: Craig Ringer
Date:
Subject: Re: How to recovery data from folder data installation?