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

From: Greg Sabino Mullane <htamfids(at)gmail(dot)com>
To: 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-01 13:38:57
Message-ID: CAKAnmmKkz+kWopLhkAepKwvBdoNv8_ESfuzR9aR8PnD3Z8rMgQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> $ 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Previous Message Heikki Linnakangas 2024-11-01 13:37:56 Re: Inquiry on Future Plans for Enhancements to PostgreSQL MVCC Model and Vacuum Process