Make logical decoding a part of the rmgr.

Jeff Davis <jdavis@postgresql.org>

Commit: 7a5f6b47488d824b1ea1326be4337e2c32325ff2
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2022-01-19T22:58:49Z
Releases: 15.0
Make logical decoding a part of the rmgr.

Add a new rmgr method, rm_decode, and use that rather than a switch
statement.

In preparation for rmgr extensibility.

Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/ed1fb2e22d15d3563ae0eb610f7b61bb15999c0a.camel%40j-davis.com
Discussion: https://postgr.es/m/20220118095332.6xtlcjoyxobv6cbk@jrouhaud

Files

Discussion