Re: Making error message more user-friendly with spaces in a URI - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Making error message more user-friendly with spaces in a URI
Date
Msg-id 3621483.1731977528@sss.pgh.pa.us
Whole thread Raw
In response to Re: Making error message more user-friendly with spaces in a URI  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-hackers
Michael Paquier <michael@paquier.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix an error while building test_radixtree.c with TEST_SHARED_RT
Next
From: Masahiko Sawada
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations