aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/libpq/fe-auth.c')
-rw-r--r--src/interfaces/libpq/fe-auth.c6
1 files 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)