Re: BUG #18377: Assert false in "partdesc->nparts >= pinfo->nparts", fileName="execPartition.c", lineNumber=1943

Alvaro Herrera <alvherre@alvh.no-ip.org>

From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Tender Wang <tndrwang@gmail.com>, 1026592243@qq.com, pgsql-bugs@lists.postgresql.org
Date: 2024-06-24T15:17:04Z
Lists: pgsql-bugs
On 2024-Jun-24, Tom Lane wrote:

> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Thanks for looking again.  I have finally pushed this.
> 
> Um ... you are aware that we are in beta2 release freeze, no?

Sigh.  No, I missed that.  I'm going to revert it now, because I see that
skink failed.  I don't see how my patch is to blame since it's a timeout
and we have no logs for the failure; but maybe my patch did make
something slower and caused some test to go over the time limit.

I'd revert from master only though, to avoid noise in the other branches
that aren't in commit freeze and there are no BF failures.  Any hard
votes against doing that?

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Postgres is bloatware by design: it was built to house
 PhD theses." (Joey Hellerstein, SIGMOD annual conference 2002)



Commits

  1. Fix partition pruning setup during DETACH CONCURRENTLY

  2. Revert "Fix partition pruning setup during DETACH CONCURRENTLY"

  3. Fix creation of partition descriptor during concurrent detach

  4. Use MyBackendType in more places to check what process this is