master.diff
text/x-diff
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/release-18.sgml | 17 | 0 |
diff --git a/doc/src/sgml/release-18.sgml b/doc/src/sgml/release-18.sgml index 66cdeb67961..33e9199d758 100644 --- a/doc/src/sgml/release-18.sgml +++ b/doc/src/sgml/release-18.sgml @@ -284,6 +284,23 @@ This optimization can be disabled using enable_distinct_reordering. </para> </listitem> +<!-- +Author: David Rowley <drowley@postgresql.org> +2024-12-12 [bd10ec529] Detect redundant GROUP BY columns using UNIQUE indexes +--> + +<listitem> +<para> +Ignore GROUP BY columns that are functionally dependent on other columns (Zhang Mingli, Jian He, David Rowley) +<ulink url="&commit_baseurl;bd10ec529">§</ulink> +</para> + +<para> +If a GROUP BY clause includes all columns of a unique index, as well as other columns of the same table, those other columns are redundant and can be dropped +from the grouping. This was already true for non-deferred primary keys. +</para> +</listitem> + <!-- Author: Richard Guo <rguo@postgresql.org> 2024-10-09 [67a54b9e8] Allow pushdown of HAVING clauses with grouping sets