diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 64cff49c4d..f28dbce410 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -925,10 +925,15 @@ postgresql:///mydb?host=localhost&port=5433
- Percent-encoding may be used to include symbols with special meaning in any
- of the URI parts, e.g. replace = with
- %3D.
-
+ Connection URI need to be encoded with
+ Percent-encoding
+ if it includes symbols with special meaning in any of its parts.
+ For example:
+
+postgresql://postgres@localhost:5432/postgres?options=-c%20synchronous_commit%3Doff%20-c%20geqo%3Doff
+
+ where all = are replaced with %3D and
+ space character with %20