Re: Making error message more user-friendly with spaces in a URI

Stepan Neretin <sndcppg@gmail.com>

From: Stepan Neretin <sndcppg@gmail.com>
To: Yushi Ogiwara <btogiwarayuushi@oss.nttdata.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2024-10-31T15:35:41Z
Lists: pgsql-hackers
>
> I made a patch to make the error message more user-friendly when using a
> URI to connect a database with psql.
>


Hi, Yushi! I could not find this line in the master branch and I couldn't
apply this patch. I only see this error in the test (I think the test
should also be changed), but the idea of fixing the error looks good to me.
Best Regards, Stepan Neretin!

Commits

  1. libpq: Improve error message when parsing URI parameters and keywords