Search Postgresql Archives

how to check if a database exists programatically

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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';

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux