list & check tables - Mailing list pgsql-sql

From psql mail
Subject list & check tables
Date
Msg-id Pine.BSF.4.21.0006101108190.6743-100000@doz.tsutsuji.com
Whole thread Raw
List pgsql-sql
I know it sounds simple but I'm having trouble finding commands to 
return all of the tables in a database ...
and test if a certain table exists...

I know you can use \dt etc but I want to have something I can call from
php so it will return an array or some form I can use in the code. 

are there commands for this or will I have to do something fancy like keep
another table just to track the tables?




pgsql-sql by date:

Previous
From: Speed-Demon@exqlprudr.com
Date:
Subject: WIDESPREAD INCOMPETENCE AT BELL ATLANTIC
Next
From: GANESH KUMAR
Date:
Subject: AUTO INCREMENT