agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Kacper Nowicki <Kacper.Nowicki@fuw.edu.pl>
To: Postgres Mailing List <postgres@postgres.Berkeley.EDU>
Subject: How to get list of classes without indexes
Date: Tue, 25 Apr 1995 11:39:54 +0200 (MET DST)
Message-ID: <Pine.SUN.3.91.950425113314.8363B-100000@ccfs1> (raw)


Hi,

I use following query to get list of classes in database. Unfortunatelly 
I get also indexes created for those classes. How could I exclude indexes 
from this list ?

retrieve (pg_class.relname)

I select user classes removing everything beginning with 'pg_'. Is there 
a better way to get rid of POSTGRES internal classes ?

Thanks in advance,
Kacper

------------------------------------------------------------------------
Kacper Nowicki                         e-mail: Kacper.Nowicki@fuw.edu.pl
Warsaw University                      =================================
Physics Department Computer Center
Hoza 69, 00-681 Warszawa, Poland       fax:(48)(22)294309,(48)(2)6226154


==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/



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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: Kacper.Nowicki@fuw.edu.pl
  Subject: Re: How to get list of classes without indexes
  In-Reply-To: <Pine.SUN.3.91.950425113314.8363B-100000@ccfs1>

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

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