pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Anthony Bykov <a.bykov@postgrespro.ru>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: Jsonb transform for pl/python
Date: Mon, 11 Dec 2017 16:39:08 -0500
Message-ID: <27386.1513028348@sss.pgh.pa.us> (raw)
In-Reply-To: <c1ea3dfc-c383-b820-1798-39de0a514c2b@2ndquadrant.com>
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>
	<c1ea3dfc-c383-b820-1798-39de0a514c2b@2ndquadrant.com>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> 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.

>> 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?

I think our makefile infrastructure only allows for one shlib to be
built per directory.

Admittedly, you could have two extensions sharing the same shlib
(and the same regression test suite), but on the whole it's not clear
to me why we should do that.

			regards, tom lane




view thread (30+ messages)  latest in thread

Message-ID: <27386.1513028348@sss.pgh.pa.us>
Permalink:  ../27386.1513028348@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27386.1513028348@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, a.bykov@postgrespro.ru, pgsql-hackers@lists.postgresql.org
  Subject: Re: Jsonb transform for pl/python
  In-Reply-To: <27386.1513028348@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