You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix ORCA permission checking crash for ROLLUP + window function queries
transformGroupedWindows() incorrectly created an RTEPermissionInfo with
relid=0 for a subquery RTE. Per PG16 commit a61b1f7, only RTE_RELATION
entries need RTEPermissionInfo. This caused Assert(OidIsValid(perminfo->relid))
failure in ExecCheckPermissions when ORCA translated the query.
Also fix subquery not inheriting rteperminfos from the original query,
and correct AddPerfmInfo/Perfission typos.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments