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

Commitd7f316d

Browse files
committed
Clean up psql -c documentation that uses \\.
1 parenta6f156b commitd7f316d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.176 2006/12/05 17:40:55 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.177 2006/12/06 15:40:11 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -87,9 +87,10 @@ PostgreSQL documentation
8787
it contains no <application>psql</application> specific features),
8888
or a single backslash command. Thus you cannot mix
8989
<acronym>SQL</acronym> and <application>psql</application>
90-
meta-commands. To achieve that, you could pipe the string into
91-
<application>psql</application>, like this: <literal>echo -e
92-
"\\x\nSELECT * FROM foo;" | psql</literal>.
90+
meta-commands with this option. To achieve that, you could
91+
pipe the string into <application>psql</application>, like
92+
this: <literal>echo "\x \\ SELECT * FROM foo;" | psql</literal>.
93+
(<literal>\\</> is the separator meta-command.)
9394
</para>
9495
<para>
9596
If the command string contains multiple SQL commands, they are

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp