Pierre Monico
12/11/2021, 2:36 PMuser@host
) when used in a connection string? If I replace it by %40
I have the graphql
service complaining about an invalid interpolation - If I leave it in the bit after the @ is parsed as the host (including the password etc) by hasura
… Is there any other format I can pass to --postgres-url
?config.toml
but that leads to the same result@
from the username in the connection string passed to --postgres-url
?Kevin Kho
12/11/2021, 9:22 PMPierre Monico
12/13/2021, 11:57 AMuser@host
• This leads to a weird connection string: <postgres://user@host>:password@server:port/dbname
• Because of this, most client will struggle parsing it, thinking the part after the @
in the username is the server (and that there is no password)
• This is a know problem as the SO link above shows--postgres-url
I get a `“internal”:“invalid port number: "<password>@<host>.<http://postgres.database.azure.com:5432\|postgres.database.azure.com:5432\>"
>> it basically thinks the part after the @
in the username is the server address@
in the username as %40
(url encoded) it’s the graphql
service that throws an error: Error: invalid interpolation syntax in <my-postgres-url>
Kevin Kho
12/13/2021, 8:15 PMPierre Monico
01/04/2022, 3:23 PMKevin Kho
01/04/2022, 3:33 PMJulio Venegas
02/22/2022, 6:42 PMKevin Kho
02/22/2022, 6:46 PMJulio Venegas
02/22/2022, 6:46 PM