I have to create db name starting with number; when I start duplicate an existing db and give number then it shows invalid name. Is there any kind of restriction setup for Postgres; how can I override/change that restriction?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
In PostgreSQL, if you use number in front or capital letter anywhere in the object name, you need to surround the name with double quote: "70_this_is_my_database"
Hi John, I tried both double & single quotes but OpenERP is saying "Invalid database name".
Are you trying to duplicate from the Manage Database? Sorry I did not catch that earlier, but from that menu you can only use names that starts not with numbers and does not contain capital letters. You can later rename it using PostgreSQL's tools.
I had tried by creating new as well as duplicating. Both times I was getting error of invalid database name. I will try by replacing it directly in PostgreSQL.
Yes for both creating and duplicating database from Manage Database you need to specify name that does not start with number and does not contain capital letters.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Jul 23
|
5683 | ||
Change the database name
Diselesaikan
|
|
2
Jun 23
|
15249 | |
|
1
Mar 15
|
5177 | ||
|
0
Jun 24
|
1474 | ||
|
1
Jun 24
|
3206 |