From: digoal@126.com
To: pgsql-bugs@postgresql.org
Cc: digoal@126.com
Subject: BUG #14812: URI options cann't set with equal char.
Date: Tue, 12 Sep 2017 13:37:22 +0000
Message-ID: <20170912133722.25637.91@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: digoal@126.com
Subject: Re: BUG #14812: URI options cann't set with equal char.
In-Reply-To: <20170912133722.25637.91@wrigleys.postgresql.org>
References: <20170912133722.25637.91@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox