Re: SQL/MED - file_fdw - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SQL/MED - file_fdw
Date
Msg-id 8642.1292256767@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQL/MED - file_fdw  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: SQL/MED - file_fdw  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Hmm. I don't think that's going to expose enough for what I want to be 
> able to do. I actually had in mind exposing lower level routines like 
> CopyReadAttibutesCSV/CopyReadAttributesText and allowing the Foreign 
> Data Wrapper to manipulate the raw values read (for example from an 
> irregularly shaped CSV file).

I think that exposing the guts of COPY to the open air is a bad idea.
We refactor that code for performance or other reasons every release or
two.  I don't want to find us tied down to the current implementation
because we're afraid of breaking third-party FDWs.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Dmitriy Igrishin
Date:
Subject: Re: hstores in pl/python
Next
From: Dimitri Fontaine
Date:
Subject: Re: ALTER EXTENSION ... UPGRADE;