Re: WIP Patch: Selective binary conversion of CSV file foreign tables
Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>
From: "Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp>
To: "'Tom Lane'" <tgl@sss.pgh.pa.us>
Cc: "'Kohei KaiGai'" <kaigai@kaigai.gr.jp>, "'Robert Haas'" <robertmhaas@gmail.com>, <pgsql-hackers@postgresql.org>
Date: 2012-07-13T02:02:17Z
Lists: pgsql-hackers
Thanks! Best regards, Etsuro Fujita > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: Friday, July 13, 2012 5:30 AM > To: Etsuro Fujita > Cc: 'Kohei KaiGai'; 'Robert Haas'; pgsql-hackers@postgresql.org > Subject: Re: [HACKERS] WIP Patch: Selective binary conversion of CSV file > foreign tables > > "Etsuro Fujita" <fujita.etsuro@lab.ntt.co.jp> writes: > > Besides the revision, I modified check_selective_binary_conversion() to run > > heap_close() in the whole-row-reference case. Attached is an updated version > of > > the patch. > > Applied with minor, mostly-cosmetic revisions. I did fix > check_selective_binary_conversion to not continue touching the > relation's tupledesc after heap_close. Also I thought > "convert_selectively" was a better name for the hidden COPY option. > > regards, tom lane