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

Support sslnegotiation option #503

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

Conversation

MagicRB
Copy link

@MagicRB MagicRB commented Dec 31, 2024

From PostgreSQL 17 up sslnegotiation controls whether PostgreSQL will use STARTTLS or just normal TLS

@MagicRB MagicRB force-pushed the feature/sslnegotiation branch 2 times, most recently from 59f88a7 to 046abb0 Compare December 31, 2024 15:32
@MagicRB MagicRB force-pushed the feature/sslnegotiation branch from 046abb0 to d5d0f72 Compare December 31, 2024 15:34
@MagicRB
Copy link
Author

MagicRB commented Dec 31, 2024

Well, never mind, apparently the backing PostgreSQL library doesn't support sslnegotiation itself...

@MagicRB
Copy link
Author

MagicRB commented Dec 31, 2024

I tried my hand at implementing it in lib/pq but i couldn't figure it out. I'm not a Go programmer so I'm not having the best of times. I pushed my changes to https://github.com/MagicRB/libpq-go feel free to take it from there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant