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 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).