From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Nicolas Paris <niparisco@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: New Copy Formats - avro/orc/parquet
Date: Sun, 11 Feb 2018 18:27:12 -0500
Message-ID: <25421.1518391632@sss.pgh.pa.us> (raw)
In-Reply-To: <5F1153A6-7AB7-453D-89BC-FD82EEEEBC8E@anarazel.de>
References: <20180210151304.fonjztsynewldfba@gmail.com>
<20180211211235.5x3jywe5z3lkgcsr@alap3.anarazel.de>
<18464.1518389293@sss.pgh.pa.us>
<5F1153A6-7AB7-453D-89BC-FD82EEEEBC8E@anarazel.de>
Andres Freund <andres@anarazel.de> writes:
> On February 11, 2018 2:48:13 PM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> (Any such patch should manage
>> to turn COPY-CSV into an extension, at least so far as copy.c is
>> concerned, even if we don't package it as one.)
> Yea, I was thinking we should move all three (default, csv, binary)
> supported formats to using such a facility.
Hm, yeah, probably. That opens up a different dimension of variation:
is the raw data text or binary? I'm thinking we shouldn't make the format
handlers reinvent e.g. encoding conversion if they don't have to, so it's
likely that some of the infrastructure for text data would remain in core
copy.c.
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, andres@anarazel.de, niparisco@gmail.com
Subject: Re: New Copy Formats - avro/orc/parquet
In-Reply-To: <25421.1518391632@sss.pgh.pa.us>
References: <20180210151304.fonjztsynewldfba@gmail.com> <20180211211235.5x3jywe5z3lkgcsr@alap3.anarazel.de> <18464.1518389293@sss.pgh.pa.us> <5F1153A6-7AB7-453D-89BC-FD82EEEEBC8E@anarazel.de> <25421.1518391632@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