that can contain passwords to be used if the connection requires a
password (and no password has been specified otherwise).
On Microsoft Windows the file is named
-%APPDATA%\postgresql\pgpass.txt> (where %APPDATA%>
+%APPDATA%\postgresql\pgpass.conf> (where %APPDATA%>
refers to the Application Data subdirectory in the user's profile).
psqlrc file and the user's
~/.psqlrc file.
(On Windows, the user's startup file is named
- %APPDATA%\postgresql\psqlrc.txt.)
+ %APPDATA%\postgresql\psqlrc.conf.)
See PREFIX>/share/psqlrc.sample>
for information on setting up the system-wide file. It could be used
to set up the client or the server to taste (using the \set
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.109 2005/01/06 18:29:09 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.110 2005/01/14 00:25:17 momjian Exp $
*/
#include "postgres_fe.h"
#define PSQLRC ".psqlrc"
#else
#define SYSPSQLRC "psqlrc"
-#define PSQLRC "psqlrc.txt"
+#define PSQLRC "psqlrc.conf"
#endif
/*
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.300 2005/01/10 00:19:43 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.301 2005/01/14 00:25:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef WIN32
#define PGPASSFILE ".pgpass"
#else
-#define PGPASSFILE "pgpass.txt"
+#define PGPASSFILE "pgpass.conf"
#endif
/* fall back options if they are not specified by arguments or defined