karlseguin / pg.zig

Native PostgreSQL driver / client for Zig
MIT License
199 stars 15 forks source link

sslmode? #40

Closed jcollie closed 2 days ago

jcollie commented 2 days 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 2 days 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.