[BUGS] BUG #14812: URI options cann't set with equal char. - Mailing list pgsql-bugs

From digoal@126.com
Subject [BUGS] BUG #14812: URI options cann't set with equal char.
Date
Msg-id 20170912133722.25637.91@wrigleys.postgresql.org
Whole thread Raw
Responses Re: [BUGS] BUG #14812: URI options cann't set with equal char.
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      14812
Logged by:          Zhou Digoal
Email address:      digoal@126.com
PostgreSQL version: 10beta4
Operating system:   CentOS 7.x x64
Description:

there is some confusion:

```
psql postgres://postgres@127.0.0.1:1921/postgres?options="-c TimeZone =
+10"

psql: extra key/value separator "=" in URI query parameter: "options"
```

but in document:

https://www.postgresql.org/docs/10/static/libpq-connect.html


options
Specifies command-line options to send to the server at connection start.
For example, setting this to -c geqo=off sets the session's value of the
geqo parameter to off. Spaces within this string are considered to separate
command-line arguments, unless escaped with a backslash (\); write \\ to
represent a literal backslash. For a detailed discussion of the available
options, consult Chapter 19.


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] Old row version in hot chain become visible after a freeze
Next
From: Alvaro Herrera
Date:
Subject: Re: [BUGS] BUG #14805: Issue with Duplicate entry