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

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, Yushi Ogiwara <btogiwarayuushi(at)oss(dot)nttdata(dot)com>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Making error message more user-friendly with spaces in a URI
Date: 2024-11-05 16:05:14
Message-ID: 1eb6dd7f-a3f4-4dbb-8b33-cefd38e60891@oss.nttdata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2024-11-05 16:09:12 Re: Making error message more user-friendly with spaces in a URI
Previous Message Robert Haas 2024-11-05 15:58:37 Re: MultiXact\SLRU buffers configuration