On Thu, 7 Dec 2023 at 01:10, Joe Conway <m...@joeconway.com> wrote: > > The attached should fix the CopyOut response to say one column. >
Playing around with this, I found a couple of cases that generate an error: COPY (SELECT 1 UNION ALL SELECT 2) TO stdout WITH (format json); COPY (VALUES (1), (2)) TO stdout WITH (format json); both of those generate the following: ERROR: record type has not been registered Regards, Dean