Обсуждение: pgsql: Rename PQtraceSetFlags() to PQsetTraceFlags().

Поиск
Список
Период
Сортировка

pgsql: Rename PQtraceSetFlags() to PQsetTraceFlags().

От
Noah Misch
Дата:
Rename PQtraceSetFlags() to PQsetTraceFlags().

We have a dozen PQset*() functions.  PQresultSetInstanceData() and this
were the libpq setter functions having a different word order.  Adopt
the majority word order.

Reviewed by Alvaro Herrera and Robert Haas, though this choice of name
was not unanimous.

Discussion: https://postgr.es/m/20210605060555.GA216695@rfd.leadboat.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d0e750c0acaf31f60667b1635311bcef5ab38bbe

Modified Files
--------------
doc/src/sgml/libpq.sgml                          | 6 +++---
src/interfaces/libpq/exports.txt                 | 2 +-
src/interfaces/libpq/fe-trace.c                  | 2 +-
src/interfaces/libpq/libpq-fe.h                  | 2 +-
src/test/modules/libpq_pipeline/libpq_pipeline.c | 2 +-
5 files changed, 7 insertions(+), 7 deletions(-)