karlseguin / pg.zig

Native PostgreSQL driver / client for Zig
MIT License
214 stars 16 forks source link

Connection option host only seems to work with IP addresses and not hostnames #3

Closed m3dwards closed 10 months ago

m3dwards commented 10 months ago

Many thanks for a great library!

If I try to use a hostname rather than IP address I get:

return error.InvalidIPAddressFormat

karlseguin commented 10 months ago

Should be fixed in the latest master and commit to zig-0.11

m3dwards commented 10 months ago

Works for me, thanks!