Re: Is there a "right" way to test if a database is empty?

Поиск
Список
Период
Сортировка
От pinker
Тема Re: Is there a "right" way to test if a database is empty?
Дата
Msg-id 1516204895514-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на Is there a "right" way to test if a database is empty?  (Graham Leggett <minfrin@sharp.fm>)
Ответы Re: Is there a "right" way to test if a database is empty?
Список pgsql-hackers
I always do: \l+ and then you can compare the size: new_one | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | | 7869 kB | pg_default | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +| 7869 kB | pg_default | | | | | postgres=CTc/postgres | | | template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +| 7869 kB | pg_default

Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

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

Предыдущее
От: Marina Polyakova
Дата:
Сообщение: Re: master make check fails on Solaris 10
Следующее
От: Graham Leggett
Дата:
Сообщение: Re: Is there a "right" way to test if a database is empty?