Currently, it doesn't.
This patch is a WIP version of doing that, but only currently attempts
to do this in the WALSender.
Objective is to allow cascaded logical replication.
Very WIP, but here for comments.
--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services