Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5 ตอบกลับ
15783 มุมมอง

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"

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 23
5371
Odoo Table Name แก้ไขแล้ว
1
เม.ย. 20
12250
1
มี.ค. 15
4914
0
มิ.ย. 24
1171
0
พ.ค. 24
874