]> git.ipfire.org Git - thirdparty/postgresql.git/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:50 +0000 (12:54 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Feb 2014 17:54:50 +0000 (12:54 -0500)
commite7cf0b89fbf6a0c6e2fa7ece01197e9b6d6f48d3
tree148aa50e2253b59e6895f54c3d7b2c1c9b6a3b9f
parent7182bd239457b9cc3a1db337e3f10a9ee1388f78
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