Re: Logical Replication - test_decoding - unchanged-toast-datum

From: Euler Taveira <euler(at)timbira(dot)com(dot)br>
To: Abhinav Singh <abhinav(dot)thegame(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical Replication - test_decoding - unchanged-toast-datum
Date: 2017-09-26 22:25:25
Message-ID: CAHE3wggtenB6Bx78NzF4VF258HuiaHRgRX8AwmdmS1JF7yskvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2017-09-26 1:11 GMT-03:00 Abhinav Singh <abhinav(dot)thegame(at)gmail(dot)com>:
> 5. On the target, when I do a select * and see that the column with
> character varying() datatype has changed to 'unchanged-toast-datum'.
>
The column "is_toast" didn't change its value to
"unchanged-toast-datum". It is just a test_decoding convention that
means that the value is stored in a TOAST table and it was not
changed. test_decoding doesn't show TOAST values to avoid performance
problems and to be brief. Try a SELECT in the table and you will see
that the value is already there.

You didn't write an explicit question but I believe it was your doubt,
didn't it?

--
Euler Taveira Timbira -
http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-09-26 22:36:53 Re: v10 pg_ctl compatibility
Previous Message Andrew Dunstan 2017-09-26 22:18:53 Re: [HACKERS] BUG #14825: enum type: unsafe use?