Skip to content

Conversation

@Scrumplex
Copy link
Collaborator

Apparently dbname has to be preceeded by a /. tokio-postgres didn't care
as it would just leave the dbname empty and (I assume) set it equal to
the user later on. See https://docs.rs/tokio-postgres/latest/src/tokio_postgres/config.rs.html#1099

deadpool seems to check if dbname is actually set, and as our url was
malformed, it complained.

This fixes it :D

Signed-off-by: Sefa Eyeoglu contact@scrumplex.net

Apparently dbname has to be preceeded by a /. tokio-postgres didn't care
as it would just leave the dbname empty and (I assume) set it equal to
the user later on. See https://docs.rs/tokio-postgres/latest/src/tokio_postgres/config.rs.html#1099

deadpool seems to check if dbname is actually set, and as our url was
malformed, it complained.

This fixes it :D

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
@Scrumplex Scrumplex merged commit ef655c6 into next Jan 17, 2026
1 check passed
@Scrumplex Scrumplex deleted the fix/nix/dbname branch January 17, 2026 13:36
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.

2 participants