Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
5 Răspunsuri
15906 Vizualizări

Hi.

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns



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 

Imagine profil
Abandonează
Cel mai bun răspuns

enter psql -l from terminal

Imagine profil
Abandonează
Cel mai bun răspuns

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

Imagine profil
Abandonează
Cel mai bun răspuns

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"

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 23
5469
1
apr. 20
12375
1
mar. 15
5015
0
iun. 24
1250
0
mai 24
963