On 06/20/2012 12:50 PM, Alvaro Herrera wrote:
> Another related case: you have a file with headers and columns (n, t,
> x, y, z) but your table only has n and t. How would you tell COPY to
> discard the junk columns? Currently it just complains that they are
> there.
That's one of the main use cases for file_text_array_fdw.
cheers
andrew