git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6f156b)
Clean up psql -c documentation that uses \\.
Wed, 6 Dec 2006 15:40:11 +0000 (15:40 +0000)
Wed, 6 Dec 2006 15:40:11 +0000 (15:40 +0000)

diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 30d2710fd2e9e72d49677ab7f1414f31a857caca..7e83b185bc9aee743155ad05fe2a8b7986f6e2d0 100644 (file)
--- 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.176 2006年12月05日 17:40:55 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.177 2006年12月06日 15:40:11 momjian Exp $
PostgreSQL documentation
-->
@@ -87,9 +87,10 @@ PostgreSQL documentation
it contains no <application>psql</application> specific features),
or a single backslash command. Thus you cannot mix
<acronym>SQL</acronym> and <application>psql</application>
- meta-commands. To achieve that, you could pipe the string into
- <application>psql</application>, like this: <literal>echo -e
- "\\x\nSELECT * FROM foo;" | psql</literal>.
+ meta-commands with this option. To achieve that, you could
+ pipe the string into <application>psql</application>, like
+ this: <literal>echo "\x \\ SELECT * FROM foo;" | psql</literal>.
+ (<literal>\\</> is the separator meta-command.)
</para>
<para>
If the command string contains multiple SQL commands, they are
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /