pgsql: Suggest shell here-documents instead of psql -c for multiple com - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suggest shell here-documents instead of psql -c for multiple com
Date
Msg-id E1WEMz5-0006NZ-7i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4588e330442fe130bbdcf4bdd4c35fc19deb329d

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   20 +++++++++++++++++---
1 file changed, 17 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Suggest shell here-documents instead of psql -c for multiple com
Next
From: Tom Lane
Date:
Subject: pgsql: Suggest shell here-documents instead of psql -c for multiple com