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

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Tender Wang <tndrwang@gmail.com>, 1026592243@qq.com, pgsql-bugs@lists.postgresql.org
Date: 2024-06-24T16:06:29Z
Lists: pgsql-bugs
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> 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.

skink's been doing that intermittently for some time; I wouldn't
assume this patch is especially to blame.

Given the lack of other failures, maybe you should leave it as-is.
It's not really per policy, but after all this is just a beta ...

			regards, tom lane



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