forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8d29d45
committed
Fix assert failure in expand_grouping_sets
linitial_node() fails in assert enabled builds if the given pointer isnot of the specified type. Here the type is IntList. The code thoughtit should be expecting List, but it was wrong.In the existing tests which run this code the initial list element isalways NIL. Since linitial_node() allows NULL, we didn't trigger anyassert failures in the existing regression tests.There is still some discussion as to whether we need a few more tests inthis area, but for now, since beta2 is looming, fix the bug first.Bug: #17067Discussion:https://postgr.es/m/17067-665d50fa321f79e0@postgresql.orgReported-by: Yaoguang Chen1 parenta7bb0ce commit8d29d45
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1855 | 1855 |
| |
1856 | 1856 |
| |
1857 | 1857 |
| |
1858 |
| - | |
| 1858 | + | |
1859 | 1859 |
| |
1860 | 1860 |
| |
1861 | 1861 |
| |
|
0 commit comments
Comments
(0)