Skip to content

Support for the PG wire protocol #2702

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Support for the PG wire protocol #2702

wants to merge 1 commit into from

Conversation

mamcx
Copy link
Contributor

@mamcx mamcx commented May 5, 2025

Description of Changes

Closes #2686.

Add support for listening using the PG wire protocol so pg clients could be used against the database.

API and ABI breaking changes

None.

Expected complexity level and risk

2

There is open questions that are in the ticket #2686. Also the crate used here require RustTls, so it could be good idea to decide if:

  • Rewrite a big chunk of code to use OpenSSL
  • Move to RustTls Remove openssl #1700
  • Pay for the extra compilation cost.

I open another port(5433) to listen for pg connections using ssl. Need to be decided if this is the way or instead try to multi-plex the current port for both protocols.

Testing

Only manual testing so far. Solving the above questions allow me to implement some unit tests. Also, not yet integrated into cloud for the same reasons.

@mamcx mamcx self-assigned this May 5, 2025
@mamcx mamcx added enhancement New feature or request release-any To be landed in any release window backward-compatible labels May 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backward-compatible enhancement New feature or request release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Clients Using the PostgreSQL Wire Protocol
1 participant