Skip to content

Conversation

@izebit
Copy link

@izebit izebit commented Nov 12, 2025

Does your PR solve an issue?

fixes #3969

Based on the postgresql doc, if host part is skipped in the url, default socket dir is used.

Is this a breaking change?

No, it isn’t a breaking change. It extends the connection URL format to allow URLs without a host, which were previously considered invalid and made to_url_lossy panicked.

@izebit izebit marked this pull request as draft November 12, 2025 14:27
@izebit izebit marked this pull request as ready for review November 12, 2025 15:00
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.

PgConnectOptions.to_url_lossy() panics due to incorrectly encoded host/socket

1 participant