Clarify the description related to the use of characters which can be
encoded, and add an example.
Author: Jobin Augustine
Reviewed-by: Peter Eisentraut, Alvaro Herrera, Heikki Linnakangas,
Michael Paquier, Alex Shulgin
Discussion: https://postgr.es/m/CANaTPsrYgSgE2fuj3=4x=Jmx1c+NgkEDzftNknZbrMuqL+aBhQ@mail.gmail.com
- Percent-encoding may be used to include symbols with special meaning in any
- of the
URI parts, e.g. replace
= with
- %3D.
-
+ Connection
URI needs to be encoded with
+ if it includes symbols with special meaning in any of its parts.
+ Here is an example where equal sign (=) is replaced
+ with %3D and whitespace character with
+ %20:
+postgresql://user@localhost:5433/mydb?options=-c%20synchronous_commit%3Doff
+