pgsql: Fully const-ify PQconnectdbParams, PQconnectStartParams, and PQp

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fully const-ify PQconnectdbParams, PQconnectStartParams, and PQp
Date: 2011-09-25 22:53:01
Message-ID: E1R7xZF-00022I-BD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fully const-ify PQconnectdbParams, PQconnectStartParams, and PQpingParams.

The keywords and values arguments of these functions are more properly
declared "const char * const *" than just "const char **".

Lionel Elie Mamane, reviewed by Craig Ringer

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2a571bc233821023afdf8729a3ae5071b2343f65

Modified Files
--------------
doc/src/sgml/libpq.sgml | 12 ++++++++----
src/interfaces/libpq/fe-connect.c | 18 +++++++++---------
src/interfaces/libpq/libpq-fe.h | 12 ++++++------
3 files changed, 23 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-09-26 16:45:02 pgsql: Use a fresh copy of query_list when making a second plan in GetC
Previous Message Tom Lane 2011-09-25 21:34:31 pgsql: Avoid unnecessary snapshot-acquisitions in BuildCachedPlan.