Re: How to check if a table exists

Поиск
Список
Период
Сортировка
От Ben Leslie
Тема Re: How to check if a table exists
Дата
Msg-id 20010308161709.A2682@sesgroup.net
обсуждение исходный текст
Ответ на How to check if a table exists  ("Jeff" <jklcom@mindspring.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Jeff"
Дата:
Сообщение: How to check if a table exists
Следующее
От: "Stefan Waidele jun."
Дата:
Сообщение: Re: Paradox, dbf and PostgreSQL ?