From: Volkan YAZICI <yazicivo@ttmail.com>
To: Franklin Haut <franklin.haut@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Cast in PG 8.3
Date: Wed, 06 Feb 2008 00:39:39 +0200
Message-ID: <87d4rbm3is.fsf@ttmail.com> (raw)
In-Reply-To: <47A8B788.6010304@gmail.com>
References: <47A8B788.6010304@gmail.com>
Franklin Haut <franklin.haut@gmail.com> writes:
> I Tries create a cast but the function text doesn't exist more in PG 8.3
sql-createcast.html tells that
"It is normally not necessary to create casts between user-defined
types and the standard string types (text, varchar, and
char(n)). PostgreSQL will automatically handle a cast to a string
type by invoking the other type's output function, ..."
Therefore, this might help you:
test=# SELECT typoutput FROM pg_type WHERE typname = 'int4';
typoutput
-----------
int4out
(1 row)
Regards.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: yazicivo@ttmail.com, franklin.haut@gmail.com
Subject: Re: Cast in PG 8.3
In-Reply-To: <87d4rbm3is.fsf@ttmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox