Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
5 Respostas
15742 Visualizações

Hi.

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

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta



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
Cancelar
Melhor resposta

enter psql -l from terminal

Avatar
Cancelar
Melhor resposta

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jul. 23
5329
1
abr. 20
12189
1
mar. 15
4871
0
jun. 24
1144
0
mai. 24
862