Em sex., 9 de out. de 2026 às 11:13, Hunaid Sohail <hunaidpgml@gmail.com> escreveu:
PFA v3 of the patch.
I didn't find any test with nested EXCLUDE, would be good to see if works with fields that were already EXCLUDED and NOT MATERIALIZED to test not inlined CTEs
SELECT * (EXCLUDE (id, created_at)) FROM (SELECT * (EXCLUDE (id)) FROM users);
WITH CTE AS NOT MATERIALIZED (SELECT * (EXCLUDE (id, created_at)) FROM users) SELECT * (EXCLUDE (id)) FROM CTE;