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