Se rendre au contenu
Menu
Cette question a été signalée
5 Réponses
15750 Vues

Hi.

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

Avatar
Ignorer
Meilleure réponse

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

Avatar
Ignorer
Meilleure réponse



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
Ignorer
Meilleure réponse

enter psql -l from terminal

Avatar
Ignorer
Meilleure réponse

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
juil. 23
5334
1
avr. 20
12198
1
mars 15
4883
0
juin 24
1147
0
mai 24
867