-
Notifications
You must be signed in to change notification settings - Fork 712
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
[Feature Request] use server side Postgres Protocol #1642
Comments
Thanks for your report, yeah, this could be quite useful. However I would be concerned about all the features that rqlite doesn't support. For example rqlite doesn't support traditional transactions, as most folks might expect. Do you think this is an issue? |
This is the other prior art that might be relevant: https://github.com/benbjohnson/postlite |
the most basic mode would be to just take sql commands from the client connection, forward it to the database and return any status codes and possible result sets. i have also seen a lib that implemented mysql/mariadb protocol, but i am unable to find the link |
i have been using crate.io over postgresql protocol almost a decade and they sport some unique sql syntax. that said, ithink you dont even need to rewrite psql to sqlite syntax as the user should be readily aware what chimera he is using. :-) |
any updates or thoughts ? |
No updates at this time. No strong objection to adding this, just didn't have the cycles to add it yet. |
Is your feature request related to a problem? Please describe.
maintaining special driver libs in project are a pain
it would be convenient to leverage on an existing network protocol and driver like postgresql or mysql have
the effort to maintain different language driver implementation could be bundled server-side
Describe the solution you'd like
create a postgresql protocol server in rqlited siimilar to cockroachdb/h2db/cratedb
https://github.com/jeroenrinzema/psql-wire
existing drivers can then be used to access the database that are either already shipped with the distro or are widely available.
The text was updated successfully, but these errors were encountered: