> Is there an SQL statement that will allow me to query a DB to see if a> table exists?
yes, try:select 1 from pg_class where relkind='r' andrelname='the-name-of-your-table';