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

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Michael Enke <michael(dot)enke(at)wincor-nixdorf(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: util/int8.h: missing int8_text() function
Date: 2008-04-16 01:57:11
Message-ID: 48055CF7.7020603@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2008-04-16 02:01:31 Re: How to recovery data from folder data installation?
Previous Message Craig Ringer 2008-04-16 01:37:04 Re: Installation of contrib/tablefunc - problems