Skip to content

fix: add IPv6 support for PostgreSQL connections#13

Open
trezy wants to merge 1 commit intobigmoves:mainfrom
gamesgamesgamesgamesgames:fix/ipv6-postgres
Open

fix: add IPv6 support for PostgreSQL connections#13
trezy wants to merge 1 commit intobigmoves:mainfrom
gamesgamesgamesgamesgames:fix/ipv6-postgres

Conversation

@trezy
Copy link
Contributor

@trezy trezy commented Feb 10, 2026

Summary

  • Add support for IPv6 PostgreSQL connections via ENABLE_IPV6=true env var
  • When enabled, pog uses inet6 socket options for DNS resolution and connection
  • Defaults to IPv4 when not set

Test plan

  • Verify build compiles cleanly
  • Deploy with ENABLE_IPV6=true and an IPv6 database hostname, confirm successful connections
  • Verify default behavior (no env var) still works with IPv4

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