Show databases

From wikieduonline
Jump to navigation Jump to search

PostgreSQL:

\list
SELECT datname FROM pg_database WHERE datistemplate = false;
datname
----------
postgres
(1 row)
SELECT datname FROM pg_database WHERE datistemplate = false;
datname
----------
postgres
your_database_name
(2 rows)



rs0:PRIMARY> show databases;
admin       0.031GB
config      0.031GB
local       0.281GB
YOUR_NAME   2.499GB


Related terms[edit]

See also[edit]

Advertising: