Bruce Momjian wrote:
> Understood. My point is that there is a short list of read events, and
> many DDL events. We have already hesitated to record DDL changes for
> logical replication because of the code size, maintenance overhead, and
> testing required.
DDL is already captured using the event triggers mechanism (which is
what it was invented for in the first place). The only thing we don't
have is a hardcoded mechanism to transform it from C struct format to
SQL language.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services