Re: Making error message more user-friendly with spaces in a URI
Fujii Masao <masao.fujii@oss.nttdata.com>
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Greg Sabino Mullane <htamfids@gmail.com>,
Yushi Ogiwara <btogiwarayuushi@oss.nttdata.com>
Cc: Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2024-11-05T16:05:14Z
Lists: pgsql-hackers
On 2024/11/01 22:38, Greg Sabino Mullane wrote: > $ psql "postgres://localhost:5432/postgres?application_name=a b" > psql: error: trailing data found: "a b" > > > This works fine for me, and sets a space in the application_name string as expected. Do you have a different example? You'll encounter the error message if you run the example command against HEAD. Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION
Commits
-
libpq: Improve error message when parsing URI parameters and keywords
- a3699daea202 18.0 landed