--- libpq-connect.html 2021-02-26 18:31:27.000000000 +0100 +++ libpq-connect.html 2021-02-26 18:43:31.000000000 +0100 @@ -523,7 +523,13 @@

The general form for a connection URI is:

-postgresql://[user[:password]@][host][:port][,...][/dbname][?param1=value1&...]
+postgresql://[userspec@][hostspec][/dbname][?paramspec]
+
+

where

+
+userspec := user[:password]
+hostspec := ([host][:port])[,...]
+paramspec := name=value[&...]
 

The URI scheme designator can be either postgresql:// or postgres://. Each of the remaining URI parts is optional. The following examples illustrate valid URI syntax: