how to check if a database exists programatically

Поиск
Список
Период
Сортировка
От surabhi.ahuja
Тема how to check if a database exists programatically
Дата
Msg-id 967CFC4343BF2A4DAFACD026D33DC85118EC9F@jal.iiitb.ac.in
обсуждение исходный текст
Ответы Re: how to check if a database exists programatically
Re: how to check if a database exists programatically
Список pgsql-general
 i have to write a shell script in which i have to check if the database "abc" exists or not
 
how should i do it ? some select query
 
select * from ??? where database_name = 'abc';

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: memory leak under heavy load?
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: how to check if a database exists programatically