]> granicus.if.org Git - postgresql/commit
Suggest shell here-documents instead of psql -c for multiple commands.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Feb 2014 17:54:58 +0000 (12:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Feb 2014 17:54:58 +0000 (12:54 -0500)
commitb0154f20b3bb7c74332f5cbf51baf7ebc68c80b4
tree9e26f60282cddd85e5840b2c58a21a90ec3ced2f
parent7644a7bd8c3bfe35f9f39039304cb16c93b7a943
Suggest shell here-documents instead of psql -c for multiple commands.

The documentation suggested using "echo | psql", but not the often-superior
alternative of a here-document.  Also, be more direct about suggesting
that people avoid -c for multiple commands.  Per discussion.
doc/src/sgml/ref/psql-ref.sgml