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.
Does anyone know how to make COPY FROM PROGRAM take the output literally?