Skip site navigation (1) Skip section navigation (2)

Re: Variable-length Types

From: Itai Zukerman <zukerman(at)math-hat(dot)com>
To: sqllist <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Variable-length Types
Date: 2000-10-15 20:58:05
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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


In response to

pgsql-sql by date

Next:From: KuroiNekoDate: 2000-10-15 21:17:57
Subject: Re: Variable-length Types
Previous:From: Josh BerkusDate: 2000-10-15 20:36:31
Subject: Re: Variable-length Types

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group