On Wed, 07 Mar 2001, Jeff wrote:

> Also how to programmatically check if a table exists in the database?

I think the easiest way is to attach to one of the default database like
"Template0" i think, then query the system tables. pg_database and 
pg_class are theones you will be after i think.

(Well that how I've done it.. there is probably a better way ;)

Cheers,

Benno

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

Reply via email to