Re: BUG #18363: Assert !ReindexIsProcessingIndex falsified with expression index over select from table
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2024-02-25T22:57:34Z
Lists: pgsql-bugs
On Sun, Feb 25, 2024 at 03:37:08PM -0500, Tom Lane wrote: > Yeah, I guess so. We periodically get reports of the non-assert > failure, and this would let us issue a more on-point error message. > I'm slightly worried about the extra cost, but typically > pendingReindexedIndexes should be empty or at least short, so it's > probably negligible. An index expression that calls a function doing a scan of its parent table is a funky case for sure, but perhaps f5a465f1a074 would have been better with a test? -- Michael
Commits
-
Promote assertion about !ReindexIsProcessingIndex to runtime error.
- f5a465f1a074 17.0 landed
- c0b4dad38e84 12.19 landed
- 940489b46769 15.7 landed
- 8c785d354c61 16.3 landed
- 43cca9de9a0a 13.15 landed
- 09f09884c18d 14.12 landed