diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 4dbeda993e..373c257f53 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ @@ -3883,7 +3883,7 @@ The file .pgpass in a user's home directory is a file 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). diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 7f7a4173fe..b5bf703a71 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -2525,7 +2525,7 @@ $endif 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 diff --git a/src/bin/psql/startup.c b/src/bin/psql/startup.c index b8f6ca5f56..6945cc29d6 100644 --- a/src/bin/psql/startup.c +++ b/src/bin/psql/startup.c @@ -3,7 +3,7 @@ * * 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" @@ -48,7 +48,7 @@ PsqlSettings pset; #define PSQLRC ".psqlrc" #else #define SYSPSQLRC "psqlrc" -#define PSQLRC "psqlrc.txt" +#define PSQLRC "psqlrc.conf" #endif /* diff --git a/src/interfaces/libpq/fe-connect.c b/src/interfaces/libpq/fe-connect.c index 020d4c7ec9..52f0fe32ac 100644 --- 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.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 $ * *------------------------------------------------------------------------- */ @@ -69,7 +69,7 @@ #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