Changes between Initial Version and Version 2 of Ticket #30315
- Timestamp:
- 04/02/19 18:39:35 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30315
-
Property
Component
changed from
Uncategorized
tocontrib.postgres
-
Property
Summary
changed from
StringAgg with ordering in subquery executes invalid string_agg() SQL function call
toStringAgg with ordering in subquery generates invalid string_agg() SQL function call
-
Property
Component
changed from
-
Ticket #30315 – Description
initial v2 61 61 }}} 62 62 63 This is the case with both Django 2.2 and the (current) master branch. 64 63 65 There are two problems in `STRING_AGG(U2."first_name", U2."first_name", ', 'ORDER BY "people_person"."first_name")`: 64 66 … … 66 68 2. the ORDER BY expression is referencing `"people_person"` instead of `U2`. 67 69 68 70 \\ 69 71 70 72 … … 87 89 GROUP BY "people_book"."id" 88 90 }}} 91 92 \\ 93 89 94 90 95 This query also executes correctly: