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: 87bswl255u.fsf@matt.w80.math-hat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

-itai

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message KuroiNeko 2000-10-15 21:17:57 Re: Variable-length Types
Previous Message Josh Berkus 2000-10-15 20:36:31 Re: Variable-length Types