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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fully const-ify PQconnectdbParams, PQconnectStartParams, and PQp
Дата
Msg-id E1R7xZF-00022I-BD@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid unnecessary snapshot-acquisitions in BuildCachedPlan.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Use a fresh copy of query_list when making a second plan in GetC