projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b16dab6
)
Add comment that on Win32, we don't need to check the .pgpass file
author
Bruce Momjian
<bruce@momjian.us>
Tue, 20 Feb 2007 15:20:51 +0000
(15:20 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Tue, 20 Feb 2007 15:20:51 +0000
(15:20 +0000)
permission, per Magnus.
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index e7f61ebdb96f652b7724af2dc199a5dae5fb1ac5..6d8198ac0e72e55d04a1c2e87d443ff131706388 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-8,7
+8,7
@@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.34
3 2007/02/10 14:58:55 petere
Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.34
4 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");