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