On Monday, December 31, 2018, Mark Mikulec <[email protected]> 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.
