1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-27 12:41:57 +03:00

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
This commit is contained in:
Noah Misch
2021-06-10 21:56:13 -07:00
parent 04539e73fa
commit d0e750c0ac
5 changed files with 7 additions and 7 deletions

View File

@ -6533,14 +6533,14 @@ void PQtrace(PGconn *conn, FILE *stream);
</listitem>
</varlistentry>
<varlistentry id="libpq-PQtraceSetFlags">
<term><function>PQtraceSetFlags</function><indexterm><primary>PQtraceSetFlags</primary></indexterm></term>
<varlistentry id="libpq-PQsetTraceFlags">
<term><function>PQsetTraceFlags</function><indexterm><primary>PQtraceSetFlags</primary></indexterm></term>
<listitem>
<para>
Controls the tracing behavior of client/server communication.
<synopsis>
void PQtraceSetFlags(PGconn *conn, int flags);
void PQsetTraceFlags(PGconn *conn, int flags);
</synopsis>
</para>