Re: Variable-length Types - Mailing list pgsql-sql

From Itai Zukerman
Subject Re: Variable-length Types
Date
Msg-id 87bswl255u.fsf@matt.w80.math-hat.com
Whole thread Raw
In response to Variable-length Types  (Itai Zukerman <zukerman@math-hat.com>)
List pgsql-sql
> > 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


pgsql-sql by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Variable-length Types
Next
From: KuroiNeko
Date:
Subject: Re: Variable-length Types