Changes between Initial Version and Version 1 of Ticket #32006, comment 5
- Timestamp:
- Sep 14, 2020, 8:12:43 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32006, comment 5
initial v1 3 3 Thanks for the following report. The reason why I was asking what kind of ''table'' `rk7data_printcheck` was is that the ''group by selected table primary key'' optimization is known to break for views, foreign tables, and any other table-like objects that PostgreSQL cannot introspect enough to determine this optimization is safe. 4 4 5 The optimization does make a huge difference when aggregating over tables containing columns costly to joinso we decided to keep it around even with the aforementioned caveats. We did add a per-model hook to disable though if that can be of any help to you #28107.5 The optimization does make a huge difference when aggregating over tables containing columns costly to group so we decided to keep it around even with the aforementioned caveats. We did add a per-model hook to disable though if that can be of any help to you #28107.