varchar vs. upper(), lower() etc. - Mailing list pgsql-sql

From Leslie Mikesell
Subject varchar vs. upper(), lower() etc.
Date
Msg-id 199809151846.NAA19531@Venus.mcs.net
Whole thread Raw
List pgsql-sql
Is there a trick to making upper(), lower(), ~*, etc. work with varchar
fields?  Some things seem to work (select upper(field)), some don't
(where upper(field) = upper(field)), and if I try the obvious casts
to text, I get: ERROR:  function text(varchar) does not exist.
Should I just rebuild my database with text fields?  I had initially
used varchar so indexes would work through ODBC but it looks like that
is working with text now.

  Les Mikesell
   les@mcs.com

pgsql-sql by date:

Previous
From: Howie
Date:
Subject: subscribe pgsql-sql
Next
From: Daniel Facciolo Pires
Date:
Subject: Primary and foreign key