Re: Making error message more user-friendly with spaces in a URI
Re: Making error message more user-friendly with spaces in a URI
От:
Greg Sabino Mullane <htamfids@gmail.com>
Дата:
$ 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?
Cheers,
Greg
Re: Making error message more user-friendly with spaces in a URI
От:
Fujii Masao <masao.fujii@oss.nttdata.com>
Дата:
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