forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitfedfcf6
committed
Don't try to parallelize array_agg() on an anonymous record type.
This doesn't work because record_recv requires the typmod thatidentifies the specific record type (in our session) andarray_agg_deserialize has no convenient way to get that information.The result is an "input of anonymous composite types is notimplemented" error.We could probably make this work if we had to, but it does not seemworth the trouble, given that it took this long to get a field report.Just shut off parallelization, as though record_recv didn't exist.Oversight in commit16fd03e. Back-patch to v16 where thatcame in.Reported-by: Kirill Zdornyy <kirill@dineserve.com>Diagnosed-by: Richard Guo <guofenglinux@gmail.com>Author: Tom Lane <tgl@sss.pgh.pa.us>Reviewed-by: David Rowley <dgrowleyml@gmail.com>Discussion:https://postgr.es/m/atLI5Kce2ie1zcYjU0w_kjtVaxiYbYGTihrkLDmGZQnRDD4pnXukIATaABbnIj9pUnelC4ESvCXMm4HAyHg-v61XABaKpERj0A2IXzJZM7g=@dineserve.comBackpatch-through: 161 parent3c472a1 commitfedfcf6
File tree
3 files changed
+36
-4
lines changed- src
- backend/parser
- test/regress
- expected
- sql
3 files changed
+36
-4
lines changedLines changed: 10 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2052 | 2052 |
| |
2053 | 2053 |
| |
2054 | 2054 |
| |
2055 |
| - | |
| 2055 | + | |
2056 | 2056 |
| |
2057 | 2057 |
| |
2058 | 2058 |
| |
| |||
2067 | 2067 |
| |
2068 | 2068 |
| |
2069 | 2069 |
| |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
2070 | 2079 |
| |
2071 | 2080 |
| |
2072 | 2081 |
| |
|
Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2151 | 2151 |
| |
2152 | 2152 |
| |
2153 | 2153 |
| |
2154 |
| - | |
2155 | 2154 |
| |
| 2155 | + | |
2156 | 2156 |
| |
2157 | 2157 |
| |
2158 | 2158 |
| |
| |||
2168 | 2168 |
| |
2169 | 2169 |
| |
2170 | 2170 |
| |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
| 2177 | + | |
| 2178 | + | |
| 2179 | + | |
| 2180 | + | |
| 2181 | + | |
| 2182 | + | |
| 2183 | + | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
2171 | 2189 |
| |
2172 | 2190 |
| |
2173 | 2191 |
| |
|
Lines changed: 7 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
852 | 852 |
| |
853 | 853 |
| |
854 | 854 |
| |
855 |
| - | |
856 |
| - | |
857 | 855 |
| |
| 856 | + | |
858 | 857 |
| |
859 | 858 |
| |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
860 | 865 |
| |
861 | 866 |
| |
862 | 867 |
| |
|
0 commit comments
Comments
(0)