Skip to content
Snippets Groups Projects
Commit 2d848857 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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

permission, per Magnus.
parent b16dab66
No related branches found
No related tags found
No related merge requests found
......@@ -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");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment