Commit 2d848857 authored by Bruce Momjian's avatar Bruce Momjian

Add comment that on Win32, we don't need to check the .pgpass file

permission, per Magnus.
parent b16dab66
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.343 2007/02/10 14:58:55 petere Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.344 2007/02/20 15:20:51 momjian Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -3642,6 +3642,8 @@ PasswordFromFile(char *hostname, char *port, char *dbname, char *username)
pgpassfile);
return NULL;
}
#else
/* On Win32, the directory is protected, so we don't have to check the file. */
#endif
fp = fopen(pgpassfile, "r");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment