diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-05-06 17:38:32 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-05-06 17:38:32 +0000 |
commit | 7038554c4ef2149ec08d4fdaff04743d5153873b (patch) | |
tree | 55ec209340c47f03dca402d026e60d8a1294d2e5 /doc/src | |
parent | 84e8e5b42798227d1105cd6dc0dda25edbee5418 (diff) | |
download | postgresql-7038554c4ef2149ec08d4fdaff04743d5153873b.tar.gz postgresql-7038554c4ef2149ec08d4fdaff04743d5153873b.zip |
Allow 'psql -f -' to read from standard input.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 9fbafcc8814..06b0cbb2b17 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.48 2001/05/06 17:21:11 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.49 2001/05/06 17:38:31 petere Exp $ Postgres documentation --> @@ -1292,6 +1292,12 @@ Access permissions for database "test" After the file is processed, <application>psql</application> terminates. This is in many ways equivalent to the internal command <command>\i</command>. </para> + + <para> + If <replaceable>filename</replaceable> is <literal>-</literal> + (hyphen), then standard input is read. + </para> + <para> Using this option is subtly different from writing <literal>psql < <replaceable class="parameter">filename</replaceable></literal>. |