Migrating a WAL Connector Using the test_decoding Plugin to the pgoutput Plugin
Question
How do I migrate my logical replication connector from the test_decoding plugin to the pgoutput plugin?
Environment
Connector: PostgreSQL
Answer
We are deprecating the test_decoding update method and migrating all customers to the pgoutput update method. Pgoutput is PostgreSQL’s native decoding plugin for V10+.
Follow the steps below to migrate from test_decoding to pgoutput:
- Drop the existing
test_decodingslot. - Create a publication and a new
pgoutputslot. For more information, refer to the PostgreSQL connector setup guide. - In the connection setup form, change the Update Method to Logical Replication.
- Add the publication name and
pgoutputslot name in the setup form. - Click Save and Test.
- Run a full re-sync.