summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/libpq-fe.h
diff options
context:
space:
mode:
authorNoah Misch2021-06-11 04:56:13 +0000
committerNoah Misch2021-06-11 04:56:13 +0000
commitd0e750c0acaf31f60667b1635311bcef5ab38bbe (patch)
tree72b97031c6352b372d22a0f9fad6f39998d8f99f /src/interfaces/libpq/libpq-fe.h
parent04539e73faaaaa1c06c1407671910dceaffdfcd4 (diff)
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/[email protected]
Diffstat (limited to 'src/interfaces/libpq/libpq-fe.h')
-rw-r--r--src/interfaces/libpq/libpq-fe.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h
index ca733a20048..ec378705ad7 100644
--- a/src/interfaces/libpq/libpq-fe.h
+++ b/src/interfaces/libpq/libpq-fe.h
@@ -403,7 +403,7 @@ extern void PQuntrace(PGconn *conn);
#define PQTRACE_SUPPRESS_TIMESTAMPS (1<<0)
/* redact portions of some messages, for testing frameworks */
#define PQTRACE_REGRESS_MODE (1<<1)
-extern void PQtraceSetFlags(PGconn *conn, int flags);
+extern void PQsetTraceFlags(PGconn *conn, int flags);
/* === in fe-exec.c === */