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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Stepan Neretin <sndcppg@gmail.com>
Cc: Yushi Ogiwara <btogiwarayuushi@oss.nttdata.com>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2024-11-01T00:50:02Z
Lists: pgsql-hackers
On Thu, Oct 31, 2024 at 10:35:41PM +0700, Stepan Neretin wrote:
> 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.

This line exists on HEAD and the patch applies cleanly today as of
2d8bff603c9e.  So perhaps just make sure that you are up to date?
--
Michael

Commits

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