Revert "Propagate CTE property flags when copying a CTE list into a rule."
Tom Lane <tgl@sss.pgh.pa.us>
Revert "Propagate CTE property flags when copying a CTE list into a rule." This reverts commit ed290896335414c6c069b9ccae1f3dcdd2fac6ba and equivalent back-branch commits. The issue is subtler than I thought, and it's far from new, so just before a release deadline is no time to be fooling with it. We'll consider what to do at a bit more leisure. Discussion: https://postgr.es/m/CAJcOf-fAdj=nDKMsRhQzndm-O13NY4dL6xGcEvdX5Xvbbi0V7g@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/rewrite/rewriteHandler.c | modified | +0 −6 |
| src/test/regress/expected/with.out | modified | +0 −27 |
| src/test/regress/sql/with.sql | modified | +0 −16 |
Discussion
- Bug in query rewriter - hasModifyingCTE not getting set 14 messages · 2021-02-06 → 2021-09-08