agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Niranjan Perera <perera@pollux.cs.uga.edu>
To: postgres@postgres.Berkeley.EDU
Subject: A better way ?
Date: Sun, 15 May 1994 22:36:45 -0400 (EDT)
Message-ID: <9405160236.AA04523@pollux.cs.uga.edu> (raw)

Hi:

I have a class that keeps a list of classes. What I would like to know
is there an efficent way for me to find out if any new classes  have been
created since I last accessed the database, by comparing against my class ?

I currently use..

retrieve ( pg_class.relname )
where pg_class.relname !~ "pg_" and pg_class.relname !~ "myclass"


store the results and then run each result against "myclass"

-- Niranjan

-- 
+----------------------------------------------------------------?------+
| Niranjan Perera, 415 GSRC Bldg,CS Dept,  perera@cs.uga.edu    ~~~     |
| University Of Georgia, Athens GA30602.   (706)-548-5826     ( . . )   |
+-----------------------------------------------------------ooO-(_)-Ooo-+

===============================================================================
    To add/remove yourself 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.
===============================================================================




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: perera@pollux.cs.uga.edu
  Subject: Re: A better way ?
  In-Reply-To: <9405160236.AA04523@pollux.cs.uga.edu>

* 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