You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-12-01 22:30:09 +02:00
The implementation using gethostbyname() was only intended to be used during prototyping but was forgotten when the code was finalized. Replace it with gettaddrinfo() which is more modern and supports IPv6. Suggested by Bruno Friedmann.