|
1 | 1 | <!-- |
2 | | -$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.175 2006/11/21 17:01:58 momjian Exp $ |
| 2 | +$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.176 2006/12/05 17:40:55 momjian Exp $ |
3 | 3 | PostgreSQL documentation |
4 | 4 | --> |
5 | 5 |
|
@@ -88,8 +88,8 @@ PostgreSQL documentation |
88 | 88 | or a single backslash command. Thus you cannot mix |
89 | 89 | <acronym>SQL</acronym> and <application>psql</application> |
90 | 90 | meta-commands. To achieve that, you could pipe the string into |
91 | | - <application>psql</application>, like this: <literal>echo"\x \\ |
92 | | -select *from foo;" | psql</literal>. |
| 91 | + <application>psql</application>, like this: <literal>echo-e |
| 92 | +"\\x\nSELECT *FROM foo;" | psql</literal>. |
93 | 93 | </para> |
94 | 94 | <para> |
95 | 95 | If the command string contains multiple SQL commands, they are |
|