public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kiran K V <[email protected]>
To: [email protected]
Subject: Query related to Logical Replication using test_decoding and unchanged-toast-datum
Date: Mon, 6 Jan 2025 19:49:47 +0530
Message-ID: <CAGv0ivrBc=X6iaWA9Fng7u8D5BbM6EbcNy-4xF0DGFrAV+c2zw@mail.gmail.com> (raw)

Hi,

I am currently using PostgreSQL version 16 and the test_decoding plugin to
perform logical replication (using replication slots). I have a simple
table with integer column and JSON column. When a non-JSON column is
updated, the value "unchanged-toast-datum" for the JSON column is obtained.
This shows that the value recorded in a TOAST table for a JSON column value
has not changed and is as expected. could you please tell me whether
PostgreSQL will truly log these values to WAL or not ? If not, what will be
entered into WAL for the JSON column if it remains unchanged?

Please let me know. Thank you very much.

Regards,
Kiran


reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Query related to Logical Replication using test_decoding and unchanged-toast-datum
  In-Reply-To: <CAGv0ivrBc=X6iaWA9Fng7u8D5BbM6EbcNy-4xF0DGFrAV+c2zw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox