Casts to text/varchar

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Casts to text/varchar
Date: 2003-04-18 18:34:38
Message-ID: 87istbbqo1.fsf@stark.dyndns.tv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dennis Gearon 2003-04-18 19:30:22 Re: Casts to text/varchar
Previous Message Darko Prenosil 2003-04-18 18:17:04 Re: Using index for "like 'ABC%'" type query