This piece of code will extract and print out all the tables in your database - note: system tables are also extracted and printed out.
Good luck!
Niranjan
Pantheon Systems, Inc.
4560 SW 110th Ave.
Beaverton, OR 97005, USA.
503 646 6578 Phone
425 740 7083 Fax
info@pantheon.com Email
www.pantheon.com Internet
"The Object Technology Company"
//$dbconn is your db connection
$tableList = pg_exec($dbconn, "select * from pg_tables");
$numrows = pg_numrows($tableList);
print "Number of rows = $numrows<BR>";
for ($i=0; $i < $numrows; $i++) {
$tab_rows = pg_fetch_row($tableList, $i);
print "TableName[$i]: $tab_rows[0]<BR>\n";
}
pg_close($dbconn);
echo ("<BR>Closed");
?>