pgsql: Suggest shell here-documents instead of psql -c for multiple com
pgsql: Suggest shell here-documents instead of psql -c for multiple com
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/1ea081bbd73bffed2bd4b0300fe9d99afec465ce Modified Files -------------- doc/src/sgml/ref/psql-ref.sgml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-)