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.
This commit is contained in:
Daniel Gustafsson 2024-10-23 16:13:28 +02:00
parent 6d16f9deba
commit 940f7a5627

View File

@ -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.
*/