adjust_partition_colnos mustn't be called if not needed
Alvaro Herrera <alvherre@alvh.no-ip.org>
adjust_partition_colnos mustn't be called if not needed Add an assert to make this very explicit, as well as a code comment. The former should silence Coverity complaining about this. Introduced by 7103ebb7aae8. Reported-by: Ranier Vilela Discussion: https://postgr.es/m/CAEudQAqTTAOzXiYybab+1DQOb3ZUuK99=p_KD+yrRFhcDbd0jg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/executor/execPartition.c | modified | +6 −0 |
Discussion
- support for MERGE 7 messages · 2022-03-31 → 2022-04-12