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

Corey Huinker <corey.huinker@gmail.com>

From: Corey Huinker <corey.huinker@gmail.com>
To: Daniel Verite <daniel@manitou-mail.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Fabien COELHO <coelho@cri.ensmp.fr>, Alvaro Herrera <alvherre@2ndquadrant.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, "David G. Johnston" <david.g.johnston@gmail.com>
Date: 2019-01-28T20:24:36Z
Lists: pgsql-hackers
> Otherwise "\g -" looks good as a portable solution.

+1


Commits

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