Re: [PG19] COPY (query) TO ... (FORMAT json) uses the table's column names - Mailing list pgsql-hackers

From shihao zhong
Subject Re: [PG19] COPY (query) TO ... (FORMAT json) uses the table's column names
Date
Msg-id CAGRkXqR+N9JpT5tOK82=Z++jcvs-RJ6piuKNrnQTXmmTHoe2Rg@mail.gmail.com
Whole thread
In response to Re: [PG19] COPY (query) TO ... (FORMAT json) uses the table's column names  (Joao Detomini <joao.detomini@enterprisedb.com>)
Responses Re: [PG19] COPY (query) TO ... (FORMAT json) uses the table's column names
Re: [PG19] COPY (query) TO ... (FORMAT json) uses the table's column names
List pgsql-hackers
Hi Andrew,

> Please test this out and see if you can break it again ;-)

v2 looks good to me, and I could not break it with my previous
tests.

> so we can keep the copy and just pass it the
> query's descriptor. 

I think that makes sense, haven't thought about performance impact
at v1.

Thanks,
Shihao




pgsql-hackers by date:

Previous
From: shihao zhong
Date:
Subject: Re: Parallel autovacuum: DROP DATABASE WITH (FORCE) fails on the parallel workers
Next
From: shihao zhong
Date:
Subject: [PG19]pg_verifybackup never finishes on a gzip-compressed tar backup