Re: Alternative to \copy in psql modelled after \g

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Daniel Verite" <daniel@manitou-mail.org>
Cc: "PostgreSQL Hackers" <pgsql-hackers@lists.postgresql.org>, "David G. Johnston" <david.g.johnston@gmail.com>
Date: 2018-12-16T16:16:20Z
Lists: pgsql-hackers
"Daniel Verite" <daniel@manitou-mail.org> writes:
> So as a replacement for the \copyto I was proposing earlier, PFA a patch
> for COPY TO STDOUT to make use of the argument to \g.

Sounds plausible, please add to next commitfest so we don't forget it.

			regards, tom lane


Commits

  1. Fix psql's "\g target" meta-command to work with COPY TO STDOUT.