Re: libpq parameter parsing problem

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, Jobin Augustine <jobinau(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Oleksandr Shulgin <oleksandr(dot)shulgin(at)zalando(dot)de>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: libpq parameter parsing problem
Date: 2020-01-15 15:42:28
Message-ID: fe1a7b9f-5630-00dd-3780-1b150a583fdf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2020-01-14 07:03, Michael Paquier wrote:
>> <para>
>> - Percent-encoding may be used to include symbols with special meaning in any
>> - of the <acronym>URI</acronym> parts, e.g. replace <literal>=</literal> with
>> - <literal>%3D</literal>.
>> -
>> + Connection <acronym>URI</acronym> need to be encoded with
>> + <ulink url="https://en.wikipedia.org/wiki/Percent-encoding">Percent-encoding</ulink>
>> + if it includes symbols with special meaning in any of its parts.
>> + For example:
>> +<programlisting>
>> +postgresql://postgres(at)localhost:5432/postgres?options=-c%20synchronous_commit%3Doff%20-c%20geqo%3Doff
>> +</programlisting>
>> + where all <literal>=</literal> are replaced with <literal>%3D</literal> and
>> + space character with <literal>%20</literal>
>> </para>
>
> The reference to wikipedia is nice to have.

Let's please not put links to Wikipedia into the main body of the
documentation. If people want to look up something, they know where to
find it.

Links to authoritative sources (perhaps an RFC in this case) would be
better.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-01-15 16:30:54 Re: BUG #16207: localization functions upper() and lower() does not work for text returned by convert_from()
Previous Message PG Bug reporting form 2020-01-15 15:41:41 BUG #16207: localization functions upper() and lower() does not work for text returned by convert_from()