Does Postgresql's COPY FROM have a length limit to the string it can read?
I've hit a snag with the following PL/pgSQL function I wrote CREATE OR REPLACE FUNCTION swipl_rpc(IN json_in JSONB, OUT json_out JSONB) LANGUAGE plpgsql AS $code_block$ BEGIN CREATE TEMPORARY TABLE tmp (json_tmp JSONB); EXECUTE format($bash$ COPY tmp FROM PROGRAM 'ggp-json ''%s'''…