Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database name configuration #486

Closed
ananthb opened this issue Jan 10, 2024 · 4 comments
Closed

Database name configuration #486

ananthb opened this issue Jan 10, 2024 · 4 comments

Comments

@ananthb
Copy link

ananthb commented Jan 10, 2024

My platform needs me to use a database name that isn't postgres. This is hardcoded right now. Can this be exposed as a configuration option?

I can raise a PR for this.

My platform also exposes the DB connection string as one url in the postgres://... url form. Can this be supported too?

Thoughts?

@amh-mw
Copy link

amh-mw commented Jan 10, 2024

See #426, #459 or #482

@ananthb
Copy link
Author

ananthb commented Jan 10, 2024

Closing in favour of #394.

@ananthb ananthb closed this as completed Jan 10, 2024
@Hatem-Zegnani
Copy link

@ananthb @amh-mw

Any solution so far ? I'vd been through all threads but nothing is really proposing a work around the hardcoded "postgres" database name. Please advise..

@ananthb
Copy link
Author

ananthb commented Feb 26, 2024

I set the database name in odoo.conf and it worked.

[options]
db_name = your_db_name_here

Source: #394 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants