Re: Assertion failure while streaming toasted data

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Dilip Kumar <dilipbalaut(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 11:58:03
Message-ID: CAA4eK1KehaJYNWbzeUfSstajTVcwKwFn5iVn=2JaPhHXoznEHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 26, 2021 at 1:47 PM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
>
> 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.
>

The changes look good to me. I have made minor modifications in the
comments, see attached. Let me know what do you think?

--
With Regards,
Amit Kapila.

Attachment Content-Type Size
v4-0001-Fix-assertion-during-streaming-of-multi-insert-to.patch application/octet-stream 78.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2021-05-26 11:58:10 Re: Parallel Inserts in CREATE TABLE AS
Previous Message Bharath Rupireddy 2021-05-26 11:42:53 Re: Parallel Inserts in CREATE TABLE AS