postgresql_16:6.12.2.1 Logical Decoding
PostgreSQL 16 > Server Programming > Logical Decoding > Logical Decoding Concepts > Logical Decoding
Logical decoding is the process of extracting all persistent changes to a database's tables into a coherent, easy to understand format which can be interpreted without detailed knowledge of the database's internal state.
In PostgreSQL, logical decoding is implemented by decoding the contents of the write-ahead log (see postgresql_16:4.15), which describe changes on a storage level, into an application-specific form such as a stream of tuples or SQL statements.