]> 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:39 +0000 (12:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Feb 2014 17:54:39 +0000 (12:54 -0500)
commit1ea081bbd73bffed2bd4b0300fe9d99afec465ce
treebcd42b4589f913610a6bae9591315ac44b90fd0c
parent02b61dd08f9973eee3058c458afba7b9336230dc
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