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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Yushi Ogiwara <btogiwarayuushi(at)oss(dot)nttdata(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Making error message more user-friendly with spaces in a URI
Date: 2024-11-19 00:52:08
Message-ID: 3621483.1731977528@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Paquier <michael(at)paquier(dot)xyz> writes:
> Could it be better to mention %20 in the error message? Say an
> addition like:
> "unexpected spaces found \"%s\", use percent-encoded spaces (%%20) instead"

+1. Also the grammar seems a bit off; how about

"unexpected spaces found in \"%s\", use percent-encoded spaces (%%20) instead"

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2024-11-19 00:53:42 Re: Allowing pg_recvlogical to create temporary replication slots
Previous Message Tom Lane 2024-11-19 00:50:09 Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT