Re: Converting WAL to SQL

Peter Eisentraut <peter.eisentraut@enterprisedb.com>

From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: rajesh singarapu <rajesh.rs0541@gmail.com>, pgsql-hackers@lists.postgresql.org
Date: 2021-12-29T10:04:03Z
Lists: pgsql-hackers
On 29.12.21 07:18, rajesh singarapu wrote:
> I am wondering if we have a mechanism to convert WAL records to SQL 
> statements.
> 
> I am able to use logical decoders like wal2json or test_decoding for 
> converting WAL to readable format, but I am looking for a way to convert 
> WAL to sql statements.

Using pglogical in SPI mode has such a logic.