From 469cb65aca0307506886158be2fce9f4438f8361 Mon Sep 17 00:00:00 2001 From: Jan Wieck Date: Tue, 11 Jun 2002 13:40:53 +0000 Subject: Katherine Ward wrote: > Changes to avoid collisions with WIN32 & MFC names... > 1. Renamed: > a. PROC => PGPROC > b. GetUserName() => GetUserNameFromId() > c. GetCurrentTime() => GetCurrentDateTime() > d. IGNORE => IGNORE_DTF in include/utils/datetime.h & utils/adt/datetim > > 2. Added _P to some lex/yacc tokens: > CONST, CHAR, DELETE, FLOAT, GROUP, IN, OUT Jan --- src/interfaces/libpq/fe-auth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/libpq/fe-auth.c') diff --git a/src/interfaces/libpq/fe-auth.c b/src/interfaces/libpq/fe-auth.c index 9beb235b330..1856499ebf5 100644 --- a/src/interfaces/libpq/fe-auth.c +++ b/src/interfaces/libpq/fe-auth.c @@ -10,7 +10,7 @@ * exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes). * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.65 2002/04/24 23:00:40 petere Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.66 2002/06/11 13:40:53 wieck Exp $ * *------------------------------------------------------------------------- */ @@ -714,7 +714,7 @@ fe_getauthname(char *PQerrormsg) char username[128]; DWORD namesize = sizeof(username) - 1; - if (GetUserName(username, &namesize)) + if (GetUserNameFromId(username, &namesize)) name = username; #else struct passwd *pw = getpwuid(geteuid()); -- cgit v1.2.3