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

permission, per Magnus.
This commit is contained in:
Bruce Momjian 2007-02-20 15:20:51 +00:00
parent b16dab66a7
commit 2d848857ee
1 changed files with 3 additions and 1 deletions

View File

@ -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");