mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 00:01:57 -04:00
doc: add PG 14 relnote item about array function references
User-defined objects that reference some built-in array functions will need to be recreated in PG 14. Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20210608225618.GR16435@telsasoft.com
This commit is contained in:
parent
2d689babe3
commit
25dfb5a831
@ -291,6 +291,35 @@ Author: Tom Lane <tgl@sss.pgh.pa.us>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<!--
|
<!--
|
||||||
Author: Tom Lane <tgl@sss.pgh.pa.us>
|
Author: Tom Lane <tgl@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 <tgl@sss.pgh.pa.us>
|
||||||
2020-09-17 [76f412ab3] Remove factorial operators, leaving only the factorial()
|
2020-09-17 [76f412ab3] Remove factorial operators, leaving only the factorial()
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user