Re: JDBC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: JDBC
Дата
Msg-id 22547.1528663246@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: JDBC  (Chuck Davis <cjgunzel@gmail.com>)
Ответы Re: JDBC  (Chuck Davis <cjgunzel@gmail.com>)
Список pgsql-jdbc
Chuck Davis <cjgunzel@gmail.com> writes:
> I created a new, empty database and I want to test whether a table
> exists or not.

Are you sure the DB is in fact empty?

> The only thing I can think of is that the information_schema is
> actually for the cluster.

It is not.

> I have other databases in the cluster that
> do have an entities table.

I'm betting that you created such a table in template1, so that it's
getting cloned into new databases by CREATE DATABASE.

            regards, tom lane


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

Предыдущее
От: Chuck Davis
Дата:
Сообщение: Re: JDBC
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: JDBC