model-writtenrun 9403 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported a PostgreSQL 12beta1 crash during default-partition creation when two queries ran concurrently, with a backtrace through CloneRowTriggersToPartition() and scan cleanup #1.
- Alexander Lakhin attached a reproducer containing two SQL tests and a parallel schedule, together with instructions and output demonstrating the crash #2.
- Tom Lane identified the underlying problem as resetting a memory context used by a system-table scan and expressed surprise that ordinary testing had not exposed it #3.
- Tom Lane then committed eaf0292c3b, keeping scan operations in their original memory context and using the short-lived context only for trigger creation; the attached reproducer was not included.
- The thread ends with Tom Lane's diagnosis #3, followed by eaf0292c3b and its PostgreSQL 11 backport, with no subsequent patch review or testing reported in the supplied discussion.