On Monday, December 31, 2018, Mark Mikulec <m...@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.