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

Поиск
Список
Период
Сортировка
Hi all,

I need to test whether a database is empty, in other words “createdb” has been executed but no data of any kind appears
inthat database. 

What is the correct postgresql way to do this?

Is there a pg_isempty command or equivalent somewhere?

Regards,
Graham
—


Вложения

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