Thread: assert violation in logical messages serialization

assert violation in logical messages serialization

From
Stas Kelvich
Date:
Hello.

During processing of logical messages in ReorderBufferSerializeChange()
pointer to ondisk structure isn’t updated after possible reorder buffer realloc by
ReorderBufferSerializeReserve().

Actual reason spotted by Konstantin Knizhnik.



--
Stas Kelvich
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company


Attachment

Re: assert violation in logical messages serialization

From
Robert Haas
Date:
On Tue, Sep 27, 2016 at 10:45 AM, Stas Kelvich <s.kelvich@postgrespro.ru> wrote:
> During processing of logical messages in ReorderBufferSerializeChange()
> pointer to ondisk structure isn’t updated after possible reorder buffer realloc by
> ReorderBufferSerializeReserve().
>
> Actual reason spotted by Konstantin Knizhnik.

Thanks for the patch, and congratulations to Konstantin on the spot.
Committed and back-patched to 96.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company