smallstep / nosql

NoSQL is an abstraction layer for data persistency
Apache License 2.0
20 stars 23 forks source link

Add PostgreSQL support #19

Closed maxtruxa closed 2 years ago

maxtruxa commented 3 years ago

This PR adds support for PostgreSQL using the postgresql driver name.

Any help adding automated tests through .github/workflows/main.yml would be appreciated.

postgresql/postgresql.go is mostly a copy of mysql/mysql.go with relevant changes applied. Going forward there are a few possibilities:

dopey commented 2 years ago

Hey @maxtruxa, thanks a ton for the PR! We're definitely going to get this reviewed and merged. Unfortunately we're completely swamped before the holidays. I'm probably the one to review this (and write the github actions integration for a psql test db). I'll pick this up as soon as I'm done with current work.

In the mean time, we'd love to send you some swag as a "thank you" for taking the time to contribute. If you're interested, shoot me an email with your name/address (I'm at max@smallstep.com). Cheers 🍻