On Fri, Jun 11, 2021 at 09:17:46PM -0400, Tom Lane wrote: > Bruce Momjian <br...@momjian.us> writes: > > OK, I used some of your ideas and tried for something more general; > > patch attached. > > I think it's a good idea to mention custom aggregates and operators > specifically, as otherwise people will look at this and have little > idea what you're on about. I just want wording like "such as custom > aggregates and operators", in case somebody has done some other creative > thing that breaks.
Agreed, updated patch attached. -- Bruce Momjian <br...@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.
diff --git a/doc/src/sgml/release-14.sgml b/doc/src/sgml/release-14.sgml index 058ba7cd4e..c2d8941206 100644 --- a/doc/src/sgml/release-14.sgml +++ b/doc/src/sgml/release-14.sgml @@ -291,6 +291,35 @@ Author: Tom Lane <t...@sss.pgh.pa.us> <listitem> <!-- Author: Tom Lane <t...@sss.pgh.pa.us> +2020-11-04 [9e38c2bb5] Declare assorted array functions using anycompatible not +--> + + <para> + User-defined objects that reference some built-in array functions + along with their argument types must be recreated (Tom Lane) + </para> + + <para> + Specifically, <link + linkend="functions-array"><function>array_append()</function></link>, + <function>array_prepend()</function>, + <function>array_cat()</function>, + <function>array_position()</function>, + <function>array_positions()</function>, + <function>array_remove()</function>, + <function>array_replace()</function>, or <link + linkend="functions-math"><function>width_bucket()</function></link> + used to take <type>anyarray</type> arguments but now take + <type>anycompatiblearray</type>. Therefore, user-defined objects + like aggregates and operators that reference old array function + signatures must be dropped before upgrading and recreated once the + upgrade completes. + </para> + </listitem> + + <listitem> +<!-- +Author: Tom Lane <t...@sss.pgh.pa.us> 2020-09-17 [76f412ab3] Remove factorial operators, leaving only the factorial() -->