pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Leslie Mikesell <les@Mcs.Net>
To: pgsql-sql@postgreSQL.org
Subject: varchar vs. upper(), lower() etc.
Date: Tue, 15 Sep 1998 13:46:31 -0500 (CDT)
Message-ID: <199809151846.NAA19531@Venus.mcs.net> (raw)

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




Message-ID: <199809151846.NAA19531@Venus.mcs.net>
Permalink:  ../199809151846.NAA19531@Venus.mcs.net/
Also on:    postgresql.org/message-id/199809151846.NAA19531@Venus.mcs.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: les@Mcs.Net
  Subject: Re: varchar vs. upper(), lower() etc.
  In-Reply-To: <199809151846.NAA19531@Venus.mcs.net>
  References: <199809151846.NAA19531@Venus.mcs.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox