Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eOVUu-00041a-Cu for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Dec 2017 21:20:24 +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 1eOVUt-000580-Tn for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Dec 2017 21:20:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eOVRf-0001fL-EW for pgsql-hackers@lists.postgresql.org; Mon, 11 Dec 2017 21:17:03 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1eOVRc-0006Kv-GW for pgsql-hackers@lists.postgresql.org; Mon, 11 Dec 2017 21:17:02 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id E736F20E50; Mon, 11 Dec 2017 16:16:58 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Mon, 11 Dec 2017 16:16:58 -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=fm1; bh=3jCvlp ty1nnTVebpRvoNkc9mki1OjLJC6HQ8WMEd9Jo=; b=kDwWsqpxmxwhUCnFDKKPJ9 Kv63UUAKxz3NEvZtcJdJNH6CAlWRBphQrsJzNisL3a0c6em+lhzSVBeC6+VmfoqQ UQimKKcvfFL5M6wXSpwXRXsn2Z063cmICnG+ZH9r5AhTLTZdnKweVrOlLXirzv+E Hep58FFtllk/x69KYNRBCrifUopVALGDhffrWoRgb6A141YHEHUQBOeWRR/LUC4I RlsIpMcAOVIi1LiL2Y+5e9USKEa1fFe7yoi47rOPq6PykFxBDd2IW5vGpHJ8iFbl bycU8Zvb/kxJSi8isbaUlzafcpOEB5UK8wfpG1qx47uCCPVPttCPowl3VpPMBJRQ == X-ME-Sender: Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 9FD227FAD3; Mon, 11 Dec 2017 16:16:58 -0500 (EST) Subject: Re: Jsonb transform for pl/python To: Anthony Bykov References: <20171025145100.3a19933f@anthony-24-g082ur> <20171113130028.32405fee@anthony-24-g082ur> <20171113150816.1377.17052.pgcf@coridan.postgresql.org> <20171120123555.546c922f@anthony-24-g082ur> <20171120134835.GA9855@e733.localdomain> <20171206144054.5664c119@anthony-24-g082ur> <881aea8c-23a4-0694-8182-72620afe84c4@2ndquadrant.com> <20171211112206.3b4ea92f@anthony-24-g082ur> Cc: pgsql-hackers@lists.postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Mon, 11 Dec 2017 16:16:58 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171211112206.3b4ea92f@anthony-24-g082ur> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 12/11/17 03:22, Anthony Bykov wrote: >> Why not make this part of the plpythonu extension? It doesn't have to >> be a separate contrib module. >> > Hello, > I thought about that, but the problem is that there will be no > possibilities to create custom transform if we create this extension by > default. OK, could it be a separate extension, but part of the same code directory? -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services