postgres.git / summary / log / commit / refs
commit 4a8adfd4d09c7885daf548ecd53d4999f168a174
Author: Bruce Momjian <bruce@momjian.us>
Date: Tue Dec 03 16:42:18 2013 +0000
First released in: 9.4.0
C comment: again update comment for pg_fe_sendauth for error cases
src/interfaces/libpq/fe-auth.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c
index 1a1c7bfc3dd..38570f04e93 100644
--- a/src/interfaces/libpq/fe-auth.c
+++ b/src/interfaces/libpq/fe-auth.c
@@ -976,8 +976,10 @@ pg_fe_sendauth(AuthRequest areq, PGconn *conn)
/*
- * pg_fe_getauthname -- returns a pointer to dynamic space containing whatever
- * name the user has authenticated to the system
+ * pg_fe_getauthname
+ *
+ * Returns a pointer to dynamic space containing whatever name the user
+ * has authenticated to the system. If there is an error, return NULL.
*/
char *
pg_fe_getauthname(void)
[parent: 6a6b7bbb81cd]