On Fri, Nov 9, 2018 at 4:19 AM Daniel Verite <daniel(at)manitou-mail(dot)org> wrote:
> Examples of use
>
> 1. $ psql -v filename="/path/data-$(date -I).csv"
> COPY (SELECT *
> FROM table
> WHERE ...)
> TO STDOUT (FORMAT csv) \copyto :filename
Do I understand correctly that you are proposing a slightly less
verbose alternative of:
\o :filename
COPY TO STDOUT
\o
David J.