From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Code + docs review for escaping of option values (commit 11a020e
Date: Mon, 29 Jun 2015 16:43:00 +0000
Message-ID: <E1Z9c96-0002rW-1U@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Code + docs review for escaping of option values (commit 11a020eb6).
Avoid memory leak from incorrect choice of how to free a StringInfo
(resetStringInfo doesn't do it). Now that pg_split_opts doesn't scribble
on the optstr, mark that as "const" for clarity. Attach the commentary in
protocol.sgml to the right place, and add documentation about the
user-visible effects of this change on postgres' -o option and libpq's
PGOPTIONS option.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/cbc8d65639344c390a1d1a7f646c186ff3ad8693
Modified Files
--------------
doc/src/sgml/libpq.sgml | 9 ++++++---
doc/src/sgml/protocol.sgml | 12 ++++++------
doc/src/sgml/ref/postgres-ref.sgml | 14 ++++++++++----
src/backend/utils/init/postinit.c | 11 ++++++-----
src/include/miscadmin.h | 2 +-
5 files changed, 29 insertions(+), 19 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Code + docs review for escaping of option values (commit 11a020e
In-Reply-To: <E1Z9c96-0002rW-1U@gemulon.postgresql.org>
References: <E1Z9c96-0002rW-1U@gemulon.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