Re: BUG #18959: Name collisions of expression indexes during parallel Index creations on a pratitioned table.

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

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Dilip Kumar <dilipbalaut@gmail.com>, maximilian.chrzan@here.com, pgsql-hackers@lists.postgresql.org
Date: 2025-09-16T02:08:40Z
Lists: pgsql-bugs, pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Improve the names generated for indexes on expressions.

  2. Use SnapshotDirty when checking for conflicting index names.

  3. Change the names generated for child foreign key constraints.

I wrote:
> I do agree that improving the names generated for expression indexes
> would be useful independently of this.  I propose setting this patch
> aside for the time being, and I will go look into that, and then
> if that gets accepted we can come back here and discuss how much
> of a problem remains.

I started a separate thread for that, mostly so the cfbot doesn't
see it as the same patch:

https://www.postgresql.org/message-id/flat/876799.1757987810%40sss.pgh.pa.us

			regards, tom lane