Re: WIP Patch: Selective binary conversion of CSV file foreign tables

From: "Etsuro Fujita" <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)jp>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "'Kohei KaiGai'" <kaigai(at)kaigai(dot)gr(dot)jp>, "'Robert Haas'" <robertmhaas(at)gmail(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WIP Patch: Selective binary conversion of CSV file foreign tables
Date: 2012-07-13 02:02:17
Message-ID: 003401cd609b$87d3e260$977ba720$@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks!

Best regards,
Etsuro Fujita

> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Friday, July 13, 2012 5:30 AM
> To: Etsuro Fujita
> Cc: 'Kohei KaiGai'; 'Robert Haas'; pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] WIP Patch: Selective binary conversion of CSV file
> foreign tables
>
> "Etsuro Fujita" <fujita(dot)etsuro(at)lab(dot)ntt(dot)co(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-07-13 02:52:14 Re: has_language_privilege returns incorrect answer for non-superuser
Previous Message Bruce Momjian 2012-07-13 01:52:41 Re: BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2)