Detecting existance of table

From: "Brett W(dot) McCoy" <bmccoy(at)lan2wan(dot)com>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Detecting existance of table
Date: 1999-04-21 23:00:20
Message-ID: Pine.BSI.3.91.990421184714.10411U-100000@access1.lan2wan.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Is there a way of detecting the existance of a table via a function call?
I'm trying to implement a 'saved search' feature in a search engine, and
need to query a database to see if a particular table exists without
throwing an error. Actually, can an exception be caught somehow? I'm
mainly doing this with PHP3, but I also need to do it via the Perl Pg.pm

Brett W. McCoy
http://www.lan2wan.com/~bmccoy
-----------------------------------------------------------------------
Why is the alphabet in that order? Is it because of that song?

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Rick Bourassa 1999-04-22 05:31:45 ODBC, JPEG Question
Previous Message Gene Selkov Jr. 1999-04-21 20:45:16 Re: [INTERFACES] Detecting existance of table