Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1el0V9-0004Lz-Oi for pgsql-general@arkaria.postgresql.org; Sun, 11 Feb 2018 22:53:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1el0V8-000398-GZ for pgsql-general@arkaria.postgresql.org; Sun, 11 Feb 2018 22:53:38 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1el0V8-00038y-0B for pgsql-general@lists.postgresql.org; Sun, 11 Feb 2018 22:53:38 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1el0V4-0004Bh-Vb for pgsql-general@postgresql.org; Sun, 11 Feb 2018 22:53:36 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C0E0620A88; Sun, 11 Feb 2018 17:53:33 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 11 Feb 2018 17:53:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=MEXlNh aew+K7A63SvEHmaPUIQ5YKznjvx/N9E6e9zKQ=; b=Ia9KNQUHAVAxuGMY/alRVR RwICyhwVZyYyLS5eQAUAl6KLXd7xGyCo006/xkWvIDbg7FD1UTh4IV53uG39l+jg LTVkuwHdJUeui07b/9O/DXf1oJjR4bkgk5fx3beIY04LfIl1tb5e0iqW7bDDT5gl oJjq6XS0ZvhiGWflFLbJzpwjf5n/eeyugLorAHy1ap1GVhZ9nEUbl+VFEAie/HiW EIatOH7t76RVpRyPcnAEOuHLGCMde3MUMYGQUOFN0El49/v2dmeRJbxFnqaNZC2Y WhbjXQhLw9g2NZTQ+BO8BwZTDZsW60FuKiNiC2KfC2PjDJCUrJIyRq6p+5H1GmUA == X-ME-Sender: Received: from [IPv6:2607:fb90:812c:26c1:dbde:fa5e:e42f:df89] (unknown [172.56.42.227]) by mail.messagingengine.com (Postfix) with ESMTPA id 1DC11240DB; Sun, 11 Feb 2018 17:53:32 -0500 (EST) Date: Sun, 11 Feb 2018 14:53:30 -0800 User-Agent: K-9 Mail for Android In-Reply-To: <18464.1518389293@sss.pgh.pa.us> References: <20180210151304.fonjztsynewldfba@gmail.com> <20180211211235.5x3jywe5z3lkgcsr@alap3.anarazel.de> <18464.1518389293@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: New Copy Formats - avro/orc/parquet To: Tom Lane CC: Nicolas Paris ,pgsql-general@postgresql.org From: Andres Freund Message-ID: <5F1153A6-7AB7-453D-89BC-FD82EEEEBC8E@anarazel.de> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On February 11, 2018 2:48:13 PM PST, Tom Lane wr= ote: > (Any such patch should manage >to turn COPY-CSV into an extension, at least so far as copy=2Ec is >concerned, even if we don't package it as one=2E) Yea, I was thinking we should move all three (default, csv, binary) suppor= ted formats to using such a facility=2E I guess we'd just install the respe= ctive format handlers by default in the respective catalogs, rather than do= ing so in an extension=2E The handler function should easily be able to ret= urn pointers to functions in the main binary, not just additional shlibs=2E Andres --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E