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

Add PostgreSQL as database option #789

Closed
cfanoulis opened this issue Jun 26, 2019 · 5 comments
Closed

Add PostgreSQL as database option #789

cfanoulis opened this issue Jun 26, 2019 · 5 comments
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Enhancement Improvement or modification which is usually a new feature.
Milestone

Comments

@cfanoulis
Copy link

Description

Is your feature request related to a problem?

Yes. I have a PGSQL cluster running on my (fairly limited) VPS and I really find a big hassle on setting up a 2nd DB cluster of anything (when I do so, everything running on it turns sluggish as hell, I've even been billed for burst usage once)

Describe the solution you'd like us to implement.

I'd love to see PostgreSQL as a DB supported by BentoBox

Describe alternatives you've considered.

  • Getting a new VPS: The priciest of them all, outside of my budget
  • Running MySQL on Docker: Never got it to work
  • Running MongoDB: apt repository shoots a khajhilion of errors

Additional context

https://feedback.techsco.de/d/124-support-for-more-dbs

@cfanoulis cfanoulis added Status: Pending Waiting for a developer to start working on this issue. Type: Enhancement Improvement or modification which is usually a new feature. labels Jun 26, 2019
@BONNe
Copy link
Member

BONNe commented Jun 26, 2019

I think a better alternative would be to use json filesystem :) until we implement pgsql.

@cfanoulis
Copy link
Author

@BONNe currently doing that, but I want something more reliable than JSON :P

@Poslovitch
Copy link
Member

Well, another database type to learn how to implement ! 🙂

@Poslovitch Poslovitch self-assigned this Jun 26, 2019
@Poslovitch Poslovitch added this to the 1.6.0 milestone Jun 26, 2019
@Poslovitch Poslovitch changed the title PSQL as a DB option Add PostgreSQL as database option Jul 3, 2019
@Poslovitch Poslovitch added Status: In progress Working on the issue. and removed Status: Pending Waiting for a developer to start working on this issue. labels Jul 3, 2019
@Poslovitch
Copy link
Member

I did some search and PostgreSQL looks pretty much similar to MySQL, at least the queries.
Implementing it should be an easy job (definitely easier than SQLite ahah).

Poslovitch added a commit that referenced this issue Jul 4, 2019
@Poslovitch
Copy link
Member

@cfanoulis Done !
I suggest you try this out on your side using a dev build. I could run some tests and it looked like it all worked fine, but as I'm quite new to all of this database stuff, it's better to check twice.

@Poslovitch Poslovitch added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Jul 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Enhancement Improvement or modification which is usually a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants