Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bd149c

Browse files
committed
Docs: document that psql's "\i -" means read from stdin.
This has worked that way for a long time, maybe always, but you wouldnot have known it from the documentation. Also back-patch the notesI added to HEAD earlier today about behavior of the "-f -" switch,which likewise have been valid for many releases.
1 parentfcbbf82 commit7bd149c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎doc/src/sgml/ref/psql-ref.sgml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,6 +1838,13 @@ hello 10
18381838
class="parameter">filename</replaceable> and executes it as
18391839
though it had been typed on the keyboard.
18401840
</para>
1841+
<para>
1842+
If <replaceable>filename</replaceable> is <literal>-</literal>
1843+
(hyphen), then standard input is read until an EOF indication
1844+
or <command>\q</> meta-command. This can be used to intersperse
1845+
interactive input with input from files. Note that Readline behavior
1846+
will be used only if it is active at the outermost level.
1847+
</para>
18411848
<note>
18421849
<para>
18431850
If you want to see the lines on the screen as they are read you

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp