Apr 2025

1 commit
Fix parse_cte.c's failure to examine sub-WITHs in DML statements.
5 Apr 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1REL_17_STABLE17.5REL_16_STABLE16.9REL_15_STABLE15.13REL_14_STABLE14.18REL_13_STABLE13.21
LLM analysis, 100% surewritten from the discussion, no matching patch

Yu Liang reported the recursive-CTE assertion failure in #1, and Tom Lane explained the missed self-reference and announced the fix in #2. The commit extracts WalkInnerWith in src/backend/parser/parse_cte.c, handles WITH clauses on INSERT/UPDATE/DELETE/MERGE, and adds a regression test; no patch was attached.

Credits across 1 commit

Author
Tom Lane1
Reported by
Liang Sr., Yu1
Committer
Tom Lane1