Skip to content

Default empty Postgres host to localhost when a port is set#214

Merged
Maxteabag merged 1 commit into
mainfrom
postgres-default-localhost
May 22, 2026
Merged

Default empty Postgres host to localhost when a port is set#214
Maxteabag merged 1 commit into
mainfrom
postgres-default-localhost

Conversation

@Maxteabag
Copy link
Copy Markdown
Owner

Fix #205.

The adapter dropped both host and port from psycopg2.connect when the
Server field was blank, so a user with only port=5433 fell back to
libpq's default unix socket on 5432.

Refs #205.
@Maxteabag Maxteabag merged commit e1c01d5 into main May 22, 2026
21 checks passed
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.

postgres-timescaledb non connecting

1 participant