karlseguin / pg.zig

Native PostgreSQL driver / client for Zig
MIT License
250 stars 18 forks source link

sslmode? #40

Closed jcollie closed 1 month ago

jcollie commented 1 month ago

Support for sslmode for connections appears to be completely absent. I can understand not supporting it yet due to the state of Zig's TLS support but this at least deserves a prominent mention in the README.

karlseguin commented 1 month ago

I added a note. FWIW, there is a TLS branch, but it's buggy/dangerous (you can get junk bytes) due to, as you mention, issues with Zig's TLS support.