Re: JDBC
От | Chuck Davis |
---|---|
Тема | Re: JDBC |
Дата | |
Msg-id | CAHf=Y_anfFyy2j2eUdgV9fJCOEXzQc2uLkFLmo1ZaVASfG_Krw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: JDBC (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-jdbc |
Yes, I've double checked. There are no user space tables in the database. On Sun, Jun 10, 2018 at 1:40 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > 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 по дате отправления: