Skip to Content
Menu
This question has been flagged
5 Replies
16174 Zobrazenia

Hi.

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

Avatar
Zrušiť
Best Answer

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

Avatar
Zrušiť
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
Zrušiť
Best Answer

enter psql -l from terminal

Avatar
Zrušiť
Best Answer

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Avatar
Zrušiť
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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
1
júl 23
5665
1
apr 20
12630
1
mar 15
5169
0
jún 24
1456
0
máj 24
1095