[HACKERS] How to read a value when it is VARATT EXTERNAL ONDISK from logicalreplication decoder - Mailing list pgsql-hackers

From Adam Dratwiński
Subject [HACKERS] How to read a value when it is VARATT EXTERNAL ONDISK from logicalreplication decoder
Date
Msg-id CAKg6ypKcxWmMNT3VZ8WH5TjhJNfD_+dUebBAc_CG-nFTgg_SfQ@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] How to read a value when it is VARATT EXTERNAL ONDISKfrom logical replication decoder  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Hello everyone,

I am writing a custom logical replication decoder, and I took test decoder from Postgres sources as an example. 

Could anyone tell me how to read "unchanged toast datum" in case it is VARTT_IS_EXTERNAL_ONDISK. 

In the test decoder it is ignored:


Cheers
Adam

pgsql-hackers by date:

Previous
From: Rushabh Lathia
Date:
Subject: Re: [HACKERS] wait events for disk I/O
Next
From: Petr Jelinek
Date:
Subject: Re: [HACKERS] Replication vs. float timestamps is a disaster