it contains no
psql specific features),
or a single backslash command. Thus you cannot mix
- meta-commands. To achieve that, you could pipe the string into
-
psql, like this:
echo -e
- "\\x\nSELECT * FROM foo;" | psql.
+ meta-commands with this option. To achieve that, you could
+ pipe the string into
psql, like
+ this: echo "\x \\ SELECT * FROM foo;" | psql.
+ (\\> is the separator meta-command.)
If the command string contains multiple SQL commands, they are