From: Itai Zukerman <zukerman@math-hat.com>
To: sqllist <pgsql-sql@postgresql.org>
Subject: Re: Variable-length Types
Date: 15 Oct 2000 16:58:05 -0400
Message-ID: <87bswl255u.fsf@matt.w80.math-hat.com> (raw)
References: <871yxi432t.fsf@matt.w80.math-hat.com>
<39E9F80C.D9BE2054@agliodbs.com>
<5470.971641584@sss.pgh.pa.us>
> > 3. What sort of trouble am I going to get into trying to pull data from
> > a custom type into an external interface (i.e. PHP4)?
>
> Good question --- the interface code might or might not have a sensible
> default behavior for types it doesn't recognize.
Why not explicitly convert to text? (I assume the output function for
that type will be used in the conversion...?).
SELECT phone_num::text FROM tab
-itai
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: zukerman@math-hat.com
Subject: Re: Variable-length Types
In-Reply-To: <87bswl255u.fsf@matt.w80.math-hat.com>
References: <871yxi432t.fsf@matt.w80.math-hat.com> <39E9F80C.D9BE2054@agliodbs.com> <5470.971641584@sss.pgh.pa.us> <87bswl255u.fsf@matt.w80.math-hat.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