pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Douglas Nichols <dnichols@fhcrc.org>
To: pgsql-sql@postgresql.org
Subject: Character type name?? How to lower case it?
Date: Thu, 28 Jan 1999 20:56:21 +0000
Message-ID: <36B0CEF5.A49B6E32@fhcrc.org> (raw)

I have this script:
      SELECT a.attname, t.typname, a.attlen
        FROM pg_class c, pg_attribute a, pg_type t
          WHERE c.relname = 'regis' and a.attname in
('var1','var2',var3');

but a.attname is of type name, inwhich text(..) or lower(..)
do not work with this type and I do not seem to be able to
convert type name to text....

Can someone help me get around this?

Thanks 
-- 
Cheers

Douglas Nichols                                          
dnichols@fhcrc.org
----------------------------------------------------------------------------
Fred Hutchinson Cancer Research Center



view thread (7+ messages)  latest in thread

Message-ID: <36B0CEF5.A49B6E32@fhcrc.org>
Permalink:  ../36B0CEF5.A49B6E32@fhcrc.org/
Also on:    postgresql.org/message-id/36B0CEF5.A49B6E32@fhcrc.org

 · 

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: dnichols@fhcrc.org
  Subject: Re: Character type name?? How to lower case it?
  In-Reply-To: <36B0CEF5.A49B6E32@fhcrc.org>
  References: <36B0CEF5.A49B6E32@fhcrc.org>

* 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