On Sun, Feb 11, 2018 at 11:48 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Andres Freund <andres@anarazel.de> writes: > So, I think making COPY extensible would be quite beneficial. I'm > however quite doubtful that we want to add core code to handle all of > the above. I think we should make the COPY input/output formatting > extensible by extensions.
+1. I can't see carrying code for these formats in-core, but I've no objection to making it possible for someone else to maintain them.
+1. And bonus points if an API can also be defined so such an extension parsing also becomes useful to file_fdw automatically (or at least optionally).