Browse Source

psql: minor syntax changes

Igor Shubovych 11 years ago
parent
commit
41974a77fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/common/psql.md

+ 1 - 1
pages/common/psql.md

@@ -16,4 +16,4 @@
 
 - Run several queries against the given *database*. Note: useful in shell scripts
 
-`psql {{database}} <<< "{{query1}}; {{query2}}"`
+`echo '{{query1}}; {{query2}}' | psql {{database}}`