Re: Built-in plugin for logical decoding output

From: Alvaro Hernandez <aht(at)ongres(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, Gregory Brail <gregbrail(at)google(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Built-in plugin for logical decoding output
Date: 2017-09-25 18:31:11
Message-ID: 88d9182e-e265-f840-3944-45f784779fc1@ongres.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 25/09/17 20:31, Joshua D. Drake wrote:
> On 09/25/2017 10:19 AM, Petr Jelinek wrote:
>> On 25/09/17 18:48, Alvaro Hernandez wrote:
>>>
>
>>>      In my opinion, logical decoding plugins that don't come with core
>>> are close to worthless (don't get me wrong):
>>>
>>
>> I respectfully disagree.
>
> As do I.

    But Petr, without saying why, it does not help much to the
discussion ;)

>
>>
>>> - They very unlikely will be installed in managed environments (an area
>>> growing significantly).
>
> Whether or not they are included in a managed environment is generally
> based on two things:
>
>     1. Safety (why RDS doesn't allow certain C extensions)
>     2. Community/Popularity (Exactly why RDS has PostGIS)
>         A. Demand with a prerequisite of #1

    This is very clear. Now tell me: how many output plugins do you see
included in RDS. And in GCP's PostgreSQL? Azure Postgres? Heroku?

    I'm looking at this from the practical perspective: if you would
want to write a middleware for PostgreSQL that would rely on logical
decoding, you definitely want to run on this platforms, or you are out
of the game. If we want PostgreSQL to integrate more easily in nowadays
very heterogeneous environments, this is key. And relying on
non-included-or-acceptable-in-many environments output plugins is not,
IMHO, a viable nor sensible option. I'd rather stick to test_decoding or
pgoutput, no question.

>
>>> - As anything that is not in core, raises concerns by users.
>
> I find this a rather failing argument in today's market. If they are
> willing to migrate to Postgres, they are more than likely willing to
> use other open source software. Especially when combined with an
> expert telling them to.
>
>
>>> - Distribution and testing are non-trivial: many OS/archs combinations.
>>>
>
> Yes, it is. Why would we want to increase that burden to this community?

    That's a different story, and one I cannot argue against. If
easying postgresql integration with other tools is not something of a
priority or something the core group cannot add to all the stuff on
their shoulders, all my due respect. PostgreSQL users will do without,
someway, somehow. But IMHO this should be a really high priority, and
saying that this would turn PostgreSQL into an Oracle code base is going
too far ;)

    Álvaro

--

Alvaro Hernandez

-----------
OnGres

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2017-09-25 18:37:50 Re: Built-in plugin for logical decoding output
Previous Message Tom Lane 2017-09-25 18:28:29 Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().