pgsql: Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Rename PQsslAttributes() to PQsslAttributeNames(), and const-ify
Date: 2015-11-07 21:13:57
Message-ID: E1ZvAo9-00041p-5T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9042f583429ef880665dd36b7bcad45ba62dea7b

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-11-07 21:40:22 pgsql: Add "xid <> xid" and "xid <> int4" operators.
Previous Message Kevin Grittner 2015-11-07 18:26:34 Re: pgsql: Modify tqueue infrastructure to support transient record types.