Ir al contenido
Menú
Se marcó esta pregunta
5 Respuestas
16152 Vistas

Hi.

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

Avatar
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta



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
Descartar
Mejor respuesta

enter psql -l from terminal

Avatar
Descartar
Mejor respuesta

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 23
5646
1
abr 20
12610
1
mar 15
5138
0
jun 24
1441
0
may 24
1087