Postgresql 中文操作指南
49.7. Logical Decoding Output Writers #
可以为逻辑解码添加更多输出方法。有关详细信息,请参见 src/backend/replication/logical/logicalfuncs.c。实质上,需要提供三个函数:一个用于读取 WAL,一个用于准备输出,一个用于写入输出(参见 Section 49.6.5)。
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 Section 49.6.5).