Re: 48.1. Logical Decoding Examples - Mailing list pgsql-docs

From Kevin Wang
Subject Re: 48.1. Logical Decoding Examples
Date
Msg-id CAAZWVYrWsnjDD=ZTVPpO4J_nqHiVvG0M5w6tfUCfFckv+TP1FA@mail.gmail.com
Whole thread Raw
In response to Re: 48.1. Logical Decoding Examples  ("Euler Taveira" <euler@eulerto.com>)
List pgsql-docs
In my testing environment, I did not specify "shared_preload_libraries" and I cannot create the logical replication slot with the "test_decoding" type. test_decoding is in contrib folder and is not build-in, so if you do not specify it, you cannot create the replication slot.

On Mon, Oct 23, 2023 at 2:25 PM Euler Taveira <euler@eulerto.com> wrote:
On Sun, Oct 22, 2023, at 7:41 PM, PG Doc comments form wrote:
At the beginning of this section, please change this statement: 

Before you can use logical decoding, you must set wal_level to logical and
max_replication_slots to at least 1, and shared_preload_libraries to
'test_decoding'.


There is no need to preload the output plugin. logical decoding will do it. The
documentation is correct (see LoadOputputPlugin() function).


--
Euler Taveira

pgsql-docs by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: 48.1. Logical Decoding Examples
Next
From: "Euler Taveira"
Date:
Subject: Re: 48.1. Logical Decoding Examples