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