Content-Length: 273442 | pFad | http://github.com/postgrespro/postgres/commit/2d848857ee27ffec91344aa244528d9af35a4e06

F7 Add comment that on Win32, we don't need to check the .pgpass file · postgrespro/postgres@2d84885 · GitHub
Skip to content

Commit 2d84885

Browse files
committed
Add comment that on Win32, we don't need to check the .pgpass file
permission, per Magnus.
1 parent b16dab6 commit 2d84885

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.343 2007/02/10 14:58:55 petere Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.344 2007/02/20 15:20:51 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -3642,6 +3642,8 @@ PasswordFromFile(char *hostname, char *port, char *dbname, char *username)
36423642
pgpassfile);
36433643
return NULL;
36443644
}
3645+
#else
3646+
/* On Win32, the directory is protected, so we don't have to check the file. */
36453647
#endif
36463648

36473649
fp = fopen(pgpassfile, "r");

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2d848857ee27ffec91344aa244528d9af35a4e06

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy