pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify
Date: Sat, 07 Nov 2015 21:13:57 +0000
Message-ID: <E1ZvAo9-00041q-5Y@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify fully.

Per discussion, the original name was a bit misleading, and
PQsslAttributeNames() seems more apropos.  It's not quite too late to
change this in 9.5, so let's change it while we can.

Also, make sure that the pointer array is const, not only the pointed-to
strings.

Minor documentation wordsmithing while at it.

Lars Kanis, slight adjustments by me

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ab994cc00ec3e3700b2e62de9777d410fbb6ae84

Modified Files
--------------
doc/src/sgml/libpq.sgml                  |   14 +++++++-------
doc/src/sgml/release-9.5.sgml            |   28 ++++++++++++++++------------
src/interfaces/libpq/exports.txt         |    2 +-
src/interfaces/libpq/fe-secure-openssl.c |    6 +++---
src/interfaces/libpq/fe-secure.c         |    6 +++---
src/interfaces/libpq/libpq-fe.h          |    2 +-
6 files changed, 31 insertions(+), 27 deletions(-)


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


view thread (2+ messages)

Message-ID: <E1ZvAo9-00041q-5Y@gemulon.postgresql.org>
Permalink:  ../E1ZvAo9-00041q-5Y@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ZvAo9-00041q-5Y@gemulon.postgresql.org

 · 

reply

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: Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify
  In-Reply-To: <E1ZvAo9-00041q-5Y@gemulon.postgresql.org>
  References: <E1ZvAo9-00041q-5Y@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