OSDN Git Service

Change Win32 client configuration files from *.txt to *.conf.
authorBruce Momjian <bruce@momjian.us>
Fri, 14 Jan 2005 00:25:56 +0000 (00:25 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 14 Jan 2005 00:25:56 +0000 (00:25 +0000)
doc/src/sgml/libpq.sgml
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/startup.c
src/interfaces/libpq/fe-connect.c

index 4dbeda9..373c257 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.177 2005/01/08 22:13:28 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.178 2005/01/14 00:23:21 momjian Exp $
 -->
 
  <chapter id="libpq">
@@ -3883,7 +3883,7 @@ The file <filename>.pgpass</filename> 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
-<filename>%APPDATA%\postgresql\pgpass.txt</> (where <filename>%APPDATA%</>
+<filename>%APPDATA%\postgresql\pgpass.conf</> (where <filename>%APPDATA%</>
 refers to the Application Data subdirectory in the user's profile).
 </para>
 
index 7f7a417..b5bf703 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.129 2005/01/06 21:20:44 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.130 2005/01/14 00:24:23 momjian Exp $
 PostgreSQL documentation
 -->
 
@@ -2525,7 +2525,7 @@ $endif
      <filename>psqlrc</filename> file and the user's
      <filename>~/.psqlrc</filename> file.
      (On Windows, the user's startup file is named
-     <filename>%APPDATA%\postgresql\psqlrc.txt</filename>.)
+     <filename>%APPDATA%\postgresql\psqlrc.conf</filename>.)
      See <filename><replaceable>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 <command>\set
index b8f6ca5..6945cc2 100644 (file)
@@ -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
 
 /*
index 020d4c7..52f0fe3 100644 (file)
@@ -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