Skip to content

feat(connection): Add hostaddr support#722

Merged
iambriccardo merged 3 commits into
mainfrom
add-ipv6-support
May 8, 2026
Merged

feat(connection): Add hostaddr support#722
iambriccardo merged 3 commits into
mainfrom
add-ipv6-support

Conversation

@iambriccardo
Copy link
Copy Markdown
Contributor

@iambriccardo iambriccardo commented May 8, 2026

This PR adds hostaddr support to Postgres connection configuration, allowing ETL to dial a specific IP address while preserving the configured host for TLS hostname verification.

Due to a limitation in sqlx, which doesn't allow to set host and hostaddr separately, we have to perform a verify-ca setting instead of verify-full since we have to omit the hostname verification.

@iambriccardo iambriccardo marked this pull request as ready for review May 8, 2026 06:14
@iambriccardo iambriccardo requested a review from a team as a code owner May 8, 2026 06:14
Copy link
Copy Markdown
Contributor

@jmqd jmqd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo the red CI that requires cargo insta test --accept

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 76.494% (+0.02%) from 76.473% — add-ipv6-support into main

@iambriccardo iambriccardo merged commit 777e7d7 into main May 8, 2026
14 checks passed
@iambriccardo iambriccardo deleted the add-ipv6-support branch May 8, 2026 07:13
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.

3 participants