> 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' and
relname='the-name-of-your-table';
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.