postgresql_16:6.12.7 Logical Decoding Output Writers
PostgreSQL 16 > Server Programming > Logical Decoding > Logical Decoding Output Writers
It is possible to add more output methods for logical decoding. For details, see src/backend/replication/logical/logicalfuncs.c. Essentially, three functions need to be provided: one to read WAL, one to prepare writing output, and one to write the output (see (see postgresql_16:6.12.6.5)).