Re: Assertion failure while streaming toasted data

From: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Assertion failure while streaming toasted data
Date: 2021-05-26 08:17:41
Message-ID: CAFiTN-uGvOGDXdbTLx0w4u0mn8cqPQ=3uxZj3W_qS0i0Hc_8Vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 26, 2021 at 11:53 AM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
>
> On Wed, May 26, 2021 at 11:19 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> >

>
> > I searched and didn't find any similar existing tests. Can we think of
> > any other way to test this code path? We already have one copy test in
> > toast.sql, isn't it possible to write a similar test here?
>
> I will check that and let you know.

I have followed this approach to write the test.

--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com

Attachment Content-Type Size
v3-0001-Fix-bug-while-streaming-the-multi-insert-toast-ch.patch text/x-patch 77.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2021-05-26 08:23:16 Re: locking [user] catalog tables vs 2pc vs logical rep
Previous Message Masahiko Sawada 2021-05-26 08:00:22 Re: [BUG] Autovacuum not dynamically decreasing cost_limit and cost_delay