projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d49fa4c
)
Fix documentation example of using psql \x with a SELECT command, per
author
Bruce Momjian
Tue, 5 Dec 2006 17:40:55 +0000
(17:40 +0000)
committer
Bruce Momjian
Tue, 5 Dec 2006 17:40:55 +0000
(17:40 +0000)
Simon Riggs. Backpatch to 8.2.X.
doc/src/sgml/ref/psql-ref.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/psql-ref.sgml
b/doc/src/sgml/ref/psql-ref.sgml
index 88d6c22a910b5ab61cec102fd80c2ea1963c122e..30d2710fd2e9e72d49677ab7f1414f31a857caca 100644
(file)
--- a/
doc/src/sgml/ref/psql-ref.sgml
+++ b/
doc/src/sgml/ref/psql-ref.sgml
@@
-1,5
+1,5
@@
@@
-88,8
+88,8
@@
PostgreSQL documentation
or a single backslash command. Thus you cannot mix
SQL
and
psql
meta-commands. To achieve that, you could pipe the string into
-
psql
, like this:
echo
"\x \\
-
select * from
foo;" | psql.
+
psql
, like this:
echo
-e
+
"\\x\nSELECT * FROM
foo;" | psql.
If the command string contains multiple SQL commands, they are