Revert "Propagate CTE property flags when copying a CTE list into a rule."

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

Commit: 46f2971135984a2666a279faab8b61aa1f1904bd
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-02-07T17:54:08Z
Releases: 12.6
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

Discussion