From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Andres Freund <andres@anarazel.de>
Cc: Nicolas Paris <niparisco@gmail.com>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: New Copy Formats - avro/orc/parquet
Date: Mon, 12 Feb 2018 09:09:18 -0500
Message-ID: <30861.1518444558@sss.pgh.pa.us> (raw)
In-Reply-To: <CABUevExw+qxgE=QrBLjtYZx4qejWVpYsBv+0sU5D8ZvdbQ25mg@mail.gmail.com>
References: <20180210151304.fonjztsynewldfba@gmail.com>
<20180211211235.5x3jywe5z3lkgcsr@alap3.anarazel.de>
<18464.1518389293@sss.pgh.pa.us>
<CABUevExw+qxgE=QrBLjtYZx4qejWVpYsBv+0sU5D8ZvdbQ25mg@mail.gmail.com>
Magnus Hagander <magnus@hagander.net> writes:
> +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).
Hm, well, file_fdw already goes through COPY FROM, so it seems like it'd
almost just work. "Almost" because there'd need to be a way for it to
support the appropriate options. So this means that whatever the
mechanism is for extension-specific options, it has to be introspectable
enough for file_fdw.c to understand what to expose as FDW options.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, magnus@hagander.net, andres@anarazel.de, niparisco@gmail.com
Subject: Re: New Copy Formats - avro/orc/parquet
In-Reply-To: <30861.1518444558@sss.pgh.pa.us>
References: <20180210151304.fonjztsynewldfba@gmail.com> <20180211211235.5x3jywe5z3lkgcsr@alap3.anarazel.de> <18464.1518389293@sss.pgh.pa.us> <CABUevExw+qxgE=QrBLjtYZx4qejWVpYsBv+0sU5D8ZvdbQ25mg@mail.gmail.com> <30861.1518444558@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox