summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-12-06 15:40:32 +0000
committerBruce Momjian <bruce@momjian.us>2006-12-06 15:40:32 +0000
commita7fb173fa4783e4881c893dfb8624ad5ac0ae235 (patch)
treedb29f29b6404cdd6ca24a2fb029e5c2661e16844
parent1acc2e23f47a34f4e4375e2ef89a4adb18e2ae66 (diff)
Clean up psql -c documentation that uses \\.
-rw-r--r--doc/src/sgml/ref/psql-ref.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index 541ba8d68ac..0cba5772dcf 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.175.2.1 2006/12/05 17:41:02 momjian Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.175.2.2 2006/12/06 15:40:32 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