-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add Postgres support #3748
base: master
Are you sure you want to change the base?
Add Postgres support #3748
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as resolved.
This comment was marked as resolved.
Hi, I've done a bit to test the postgres support myselves. I found that the user table needs to be renamed as it reserved in postgres. https://www.postgresql.org/docs/current/sql-keywords-appendix.html Quite a few of the queries needs to be changed as well, like this:
Im willing to help out, but this seems a bit stale. Any chances of getting postgres support merged if its finished? @louislam do you think postgres support will be accepted if its completed? |
It may take a longer to be merged unfortunately, because I have very limited time to test pull requests here. I will likely put my time on other new features first. And I am honestly not familiar with PostgreSQL, it maybe increases the difficulty for me to maintain this project in the future. So I would expected this pr will be in v3 or v4. And as MariaDB support is coming, I hope people should try this first. Anyway, for the user table, maybe it can be escaped: https://stackoverflow.com/questions/22256124/cannot-create-a-database-table-named-user-in-postgresql
I prefer not to change the query, because it is hard to review if there are too many changes. What is the error? |
That makes a lot of sense. The query fails like this
I can help out with the mariaDB testing if you want to. How can I help on that? |
@gardleopard Yes, thank you so much, MariaDB should be 70% to 80% ready right now. 2.0.0 Checklist here: |
Will it be possible to put this PR in v2, as i will give this shot and test it and review the feature. If that possible we can bring this feature in v2 |
See #3748 (comment) #3748 (comment) => We currently (v2.0) won't merge this, instead focussing on getting maridb stable first. |
This comment was marked as duplicate.
This comment was marked as duplicate.
What file did you modify this in? I'd like to get this working, but don't see where. I'm using Docker uptime kuma latest version. Thanks |
Any plan to merge this PR? |
@Gowtham029
Incompatabilites like #5087 exist and will need to be resolved one db at a time, otherwise such an endevour is too challenging for the quite limited engineering resources we have. |
Tick the checkbox if you understand [x]:
Description
Fixes #959
Type of change
Please delete any options that are not relevant.
Checklist
(including JSDoc for methods)