On Monday, December 31, 2018, Mark Mikulec <
mark@mikutech.com> wrote:
Does anyone know how to make COPY FROM PROGRAM take the output literally?
Not that I can think of. I’d avoid COPY FROM PROGRAM and move the logic to psql. Roughly: \set varname `cmd`; select :’varname’;
David J.