Casting to varchar

From: Scott Ribe <scott_ribe(at)killerbytes(dot)com>
To: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Casting to varchar
Date: 2007-05-04 20:34:24
Message-ID: C260F4F0.7303E%scott_ribe@killerbytes.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Just discovered (the hard way) that casting a boolean column ::varchar
doesn't work. I assume I can add a function somewhere that will define a
default cast for this? Are there any other standard types that can't be cast
to varchar?

--
Scott Ribe
scott_ribe(at)killerbytes(dot)com
http://www.killerbytes.com/
(303) 722-0567 voice

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2007-05-04 20:42:07 Re: Casting to varchar
Previous Message Tom Lane 2007-05-04 19:42:45 Re: varchar as primary key