Re: [HACKERS] PG 10 release notes - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] PG 10 release notes
Date
Msg-id CA+TgmoYcyWvC-=WU-sg8pH7N6T=ndNQ_Sg0reDW+AKJpWvgw5A@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] PG 10 release notes  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [HACKERS] PG 10 release notes  (Merlin Moncure <mmoncure@gmail.com>)
Re: [HACKERS] PG 10 release notes  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
On Tue, Apr 25, 2017 at 11:01 AM, Bruce Momjian <bruce@momjian.us> wrote:
>> Or the ability of logical decoding to follow timeline switches.
>
> I didn't think logical decoding was really more than a proof-of-concept
> until now.

/me searches for jaw on floor.

It sounds like you don't understand how logical decoding works.  There
are plugins -- fairly widely used, I think -- like
https://github.com/confluentinc/bottledwater-pg and
https://github.com/eulerto/wal2json which use the in-core
infrastructure to do very nifty things, much like there are foreign
data wrappers other than postgres_fdw.  Even test_decoding is (perhaps
regrettably) being used to build production solutions.  The point is
that most of the logic is in core; test_decoding or bottlewater or
wal2json are just small plugins that tap into that infrastructure.

I would not in any way refer to logical decoding as being only a proof
of concept, even before logical replication.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] [PROPOSAL] Use SnapshotAny in get_actual_variable_range
Next
From: David Rowley
Date:
Subject: Re: [HACKERS] Should pg_current_wal_location() become pg_current_wal_lsn()