Re: Casts to text/varchar

From: Dennis Gearon <gearond(at)cvc(dot)net>
To: Greg Stark <gsstark(at)mit(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Casts to text/varchar
Date: 2003-04-18 19:30:22
Message-ID: 3EA0524E.6040201@cvc.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Don't know,
good point,
looking forward to the answer :0(

Greg Stark wrote:
> ERROR: Cannot cast type integer[] to character varying
>
> I would think every datatype should have at least one cast, the cast to a text
> or varchar. Otherwise how is an application to know how to print an arbitrary
> unknown type for human consumption? Where do the existing "{...}"
> representations get created and how does one invoke that in a query?
>
> --
> greg
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2003-04-18 19:33:15 Re: 7.3 PDF documentation
Previous Message Greg Stark 2003-04-18 18:34:38 Casts to text/varchar