Add invariants check to get_useful_group_keys_orderings()
Alexander Korotkov <akorotkov@postgresql.org>
Add invariants check to get_useful_group_keys_orderings() This commit introduces invariants checking of generated orderings in get_useful_group_keys_orderings() for assert-enabled builds. Discussion: https://postgr.es/m/a663f0f6-cbf6-49aa-af2e-234dc6768a07%40postgrespro.ru Reported-by: Tom Lane Author: Andrei Lepikhov Reviewed-by: Alexander Korotkov, Pavel Borisov
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/path/pathkeys.c | modified | +28 −0 |
Discussion
- POC: GROUP BY optimization 172 messages · 2018-05-29 → 2024-06-04