This question has been flagged
5 Replies
13546 Views

Hi.

What is the table in postgresql that stores the list openerp databases ?

Avatar
Discard
Best Answer

If you wan to list all the databases, then just enter psql -l from terminal. It will list all databases.

Avatar
Discard
Best Answer



Open Terminal

test@example:~$ sudo su postgres

[sudo] password for test:

postgres@example:/home/test$ psql

psql (9.5.10)

Type "help" for help.

postgres=# \l


Thanks !


iWesabe 

Avatar
Discard
Best Answer

enter psql -l from terminal

Avatar
Discard
Best Answer

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Avatar
Discard
Best Answer

You can all you databases (not only those ones that are OpenERP ones) by running this SQL request : "SELECT datname FROM pg_catalog.pg_database"

Avatar
Discard