From 3996a03798f023e9844e05e84c6e6206fb75dd0a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 14 Jan 2005 00:25:56 +0000 Subject: [PATCH] Change Win32 client configuration files from *.txt to *.conf. --- doc/src/sgml/libpq.sgml | 2 +- doc/src/sgml/ref/psql-ref.sgml | 2 +- src/bin/psql/startup.c | 2 +- src/interfaces/libpq/fe-connect.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 7b2d8d06af..3b3664c632 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -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 eab34c8951..fa29b1d73b 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -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 b6c318f702..7c04f792e8 100644 --- a/src/bin/psql/startup.c +++ b/src/bin/psql/startup.c @@ -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 96dac3d476..f8ca5fee4f 100644 --- a/src/interfaces/libpq/fe-connect.c +++ b/src/interfaces/libpq/fe-connect.c @@ -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 -- 2.39.5