pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tender Wang <tndrwang@gmail.com>
Cc: 1026592243@qq.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943
Date: Mon, 24 Jun 2024 16:01:36 +0200
Message-ID: <202406241401.fqqk6h7f5uaj@alvherre.pgsql> (raw)
In-Reply-To: <CAHewXNkDzN9=1z_XM=V1HAZWzxBRXs9-0gjg-hxiCU3z4JFoYA@mail.gmail.com>

On 2024-Jun-24, Tender Wang wrote:

>  If we abstract the problem that this patch attempts to solve,it would try
> to find same elements on two arrays.
> The lengths of these two arrays are not guaranteed to be equal. In this
> issue, even though the lengths of two arrays
> is same, we can't assume the each element on two arrays is same.
> 
> The algorithm used in patch is correct if I understand correctly.

Thanks for looking again.  I have finally pushed this.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Aprender sin pensar es inútil; pensar sin aprender, peligroso" (Confucio)





view thread (23+ messages)  latest in thread

Message-ID: <202406241401.fqqk6h7f5uaj@alvherre.pgsql>
Permalink:  ../202406241401.fqqk6h7f5uaj@alvherre.pgsql/
Also on:    postgresql.org/message-id/202406241401.fqqk6h7f5uaj@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@alvh.no-ip.org, tndrwang@gmail.com, 1026592243@qq.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943
  In-Reply-To: <202406241401.fqqk6h7f5uaj@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox