Suggest shell here-documents instead of psql -c for multiple commands.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e7cf0b89fbf6a0c6e2fa7ece01197e9b6d6f48d3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2014-02-14T17:54:50Z
Releases: 9.1.12
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.

Files

PathChange+/−
doc/src/sgml/ref/psql-ref.sgml modified +17 −3