|
1 | 1 | <!--
|
2 |
| -$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.244 2010/04/03 07:23:02 petere Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.245 2010/07/10 00:50:24 rhaas Exp $ |
3 | 3 | PostgreSQL documentation
|
4 | 4 | -->
|
5 | 5 |
|
@@ -79,7 +79,9 @@ PostgreSQL documentation
|
79 | 79 | <para>
|
80 | 80 | Specifies that <application>psql</application> is to execute one
|
81 | 81 | command string, <replaceable class="parameter">command</replaceable>,
|
82 |
| - and then exit. This is useful in shell scripts. |
| 82 | + and then exit. This is useful in shell scripts. Start-up files |
| 83 | + (<filename>psqlrc</filename> and <filename>~/.psqlrc</filename>) are |
| 84 | + ignored with this option. |
83 | 85 | </para>
|
84 | 86 | <para>
|
85 | 87 | <replaceable class="parameter">command</replaceable> must be either
|
@@ -3090,10 +3092,12 @@ $endif
|
3090 | 3092 | <itemizedlist>
|
3091 | 3093 | <listitem>
|
3092 | 3094 | <para>
|
3093 |
| - Before starting up, <application>psql</application> attempts to |
| 3095 | + Unless it is passed an <option>-X</option> |
| 3096 | + or <option>-c</option> option, |
| 3097 | + <application>psql</application> attempts to |
3094 | 3098 | read and execute commands from the system-wide
|
3095 | 3099 | <filename>psqlrc</filename> file and the user's
|
3096 |
| - <filename>~/.psqlrc</filename> file. |
| 3100 | + <filename>~/.psqlrc</filename> file before starting up. |
3097 | 3101 | (On Windows, the user's startup file is named
|
3098 | 3102 | <filename>%APPDATA%\postgresql\psqlrc.conf</filename>.)
|
3099 | 3103 | See <filename><replaceable>PREFIX</>/share/psqlrc.sample</>
|
|
0 commit comments