karlseguin / pg.zig

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

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

Closed m3dwards closed 11 months ago

m3dwards commented 11 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 11 months ago

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

m3dwards commented 11 months ago

Works for me, thanks!