summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gustafsson2024-10-23 14:13:28 +0000
committerDaniel Gustafsson2024-10-23 14:13:28 +0000
commit940f7a562731084f7cb23c0a56e46056340ab664 (patch)
tree8fc58f946d9fb4c2eb139a5fbe218ba3701926e9
parent6d16f9debae0a09a7db91d7f204bda043d04792c (diff)
Fix incorrect struct reference in comment
SASL frontend mechanisms are implemented with pg_fe_sasl_mech and not the _be_ variant which is the backend implementation. Spotted while reading adjacent code.
-rw-r--r--src/interfaces/libpq/fe-auth-sasl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-auth-sasl.h b/src/interfaces/libpq/fe-auth-sasl.h
index 4eecf53a15..258bfd0564 100644
--- a/src/interfaces/libpq/fe-auth-sasl.h
+++ b/src/interfaces/libpq/fe-auth-sasl.h
@@ -35,7 +35,7 @@ typedef enum
/*
* Frontend SASL mechanism callbacks.
*
- * To implement a frontend mechanism, declare a pg_be_sasl_mech struct with
+ * To implement a frontend mechanism, declare a pg_fe_sasl_mech struct with
* appropriate callback implementations, then hook it into conn->sasl during
* pg_SASL_init()'s mechanism negotiation.
*/