跳至內容
選單
此問題已被標幟
5 回覆
16405 瀏覽次數

Hi.

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

頭像
捨棄
最佳答案

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

頭像
捨棄
最佳答案



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 

頭像
捨棄
最佳答案

enter psql -l from terminal

頭像
捨棄
最佳答案

Login as postgres user in terminal:

sudo su postgres

... and then

psql -l

for list all databases

頭像
捨棄
最佳答案

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"

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
7月 23
5884
1
4月 20
12857
1
3月 15
5347
1
7月 25
3440
0
6月 24
1625