aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2010-03-06 15:28:09 +0000
committerMagnus Hagander <magnus@hagander.net>2010-03-06 15:28:09 +0000
commit66c2cc2ba93ea9015b7ce43a2fb4edc601eaaf94 (patch)
tree5604c7bd7c9eb8d028091b46be5ef07827e9fdf8 /doc/src
parentb8b34b7b44ee7d932b2a1317232ff15fb72cf1a7 (diff)
downloadpostgresql-66c2cc2ba93ea9015b7ce43a2fb4edc601eaaf94.tar.gz
postgresql-66c2cc2ba93ea9015b7ce43a2fb4edc601eaaf94.zip
Add --psqlrc=FILENAME parameter to psql, to process an explicitly named
file instead of ~/.psqlrc on startup.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 039ad0e301c..93b6d4c6c22 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.239 2010/02/19 14:36:45 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.240 2010/03/06 15:28:09 mha Exp $
PostgreSQL documentation
-->
@@ -481,6 +481,16 @@ PostgreSQL documentation
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--psqlrc=<replaceable class="parameter">FILENAME</></></term>
+ <listitem>
+ <para>
+ Read the start-up file from <replaceable class="parameter">FILENAME</>
+ instead of <filename>~/.psqlrc</>.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry>
<term><option>-1</option></term>
<term><option>--single-transaction</option></term>