aboutsummaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2016-04-01 21:53:18 -0400
committerNoah Misch <noah@leadboat.com>2016-04-01 21:53:18 -0400
commitc22650cd6450854e1a75064b698d7dcbb4a8821a (patch)
treecf9755ea9155b62a64c40ddd33af1e4231255e57 /src/backend
parent4ad6f13500cd9a3ca0652e43232f9515319e55e2 (diff)
downloadpostgresql-c22650cd6450854e1a75064b698d7dcbb4a8821a.tar.gz
postgresql-c22650cd6450854e1a75064b698d7dcbb4a8821a.zip
Refer to a TOKEN_USER payload as a "token user," not as a "user token".
This corrects messages for can't-happen errors. The corresponding "user token" appears in the HANDLE argument of GetTokenInformation().
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/libpq/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/auth.c b/src/backend/libpq/auth.c
index 899da712f7a..2751183c3e6 100644
--- a/src/backend/libpq/auth.c
+++ b/src/backend/libpq/auth.c
@@ -1252,7 +1252,7 @@ pg_SSPI_recvauth(Port *port)
if (!GetTokenInformation(token, TokenUser, tokenuser, retlen, &retlen))
ereport(ERROR,
- (errmsg_internal("could not get user token: error code %lu",
+ (errmsg_internal("could not get token user: error code %lu",
GetLastError())));
CloseHandle(token);