1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Look Ma, no MAX_PARSE_BUFFER! (At least not in the backend.

pg_dump and interfaces/odbc still need some work.)
This commit is contained in:
Tom Lane
1999-10-23 03:13:33 +00:00
parent 627b5e9c20
commit ecd0bfa81a
22 changed files with 128 additions and 183 deletions

View File

@@ -1,7 +1,7 @@
/*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: password.c,v 1.25 1999/07/17 20:17:02 momjian Exp $
* $Id: password.c,v 1.26 1999/10/23 03:13:21 tgl Exp $
*
*/
@@ -34,7 +34,7 @@ verify_password(char *auth_arg, char *user, char *password)
#endif
if (!pw_file)
{
snprintf(PQerrormsg, ERROR_MSG_LENGTH,
snprintf(PQerrormsg, PQERRORMSG_LENGTH,
"verify_password: couldn't open password file '%s'\n",
pw_file_fullname);
fputs(PQerrormsg, stderr);
@@ -79,7 +79,7 @@ verify_password(char *auth_arg, char *user, char *password)
return STATUS_OK;
}
snprintf(PQerrormsg, ERROR_MSG_LENGTH,
snprintf(PQerrormsg, PQERRORMSG_LENGTH,
"verify_password: password mismatch for '%s'.\n",
user);
fputs(PQerrormsg, stderr);
@@ -91,7 +91,7 @@ verify_password(char *auth_arg, char *user, char *password)
}
}
snprintf(PQerrormsg, ERROR_MSG_LENGTH,
snprintf(PQerrormsg, PQERRORMSG_LENGTH,
"verify_password: user '%s' not found in password file.\n",
user);
fputs(PQerrormsg, stderr);