Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
5 Risposte
15780 Visualizzazioni

Hi.

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

Avatar
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore



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
Abbandona
Risposta migliore

enter psql -l from terminal

Avatar
Abbandona
Risposta migliore

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 23
5366
1
apr 20
12247
1
mar 15
4907
0
giu 24
1170
0
mag 24
874