Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 25dfb5a

Browse files
committed
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
1 parent 2d689ba commit 25dfb5a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

doc/src/sgml/release-14.sgml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,35 @@ Author: Tom Lane <tgl@sss.pgh.pa.us>
291291
<listitem>
292292
<!--
293293
Author: Tom Lane <tgl@sss.pgh.pa.us>
294+
2020-11-04 [9e38c2bb5] Declare assorted array functions using anycompatible not
295+
-->
296+
297+
<para>
298+
User-defined objects that reference some built-in array functions
299+
along with their argument types must be recreated (Tom Lane)
300+
</para>
301+
302+
<para>
303+
Specifically, <link
304+
linkend="functions-array"><function>array_append()</function></link>,
305+
<function>array_prepend()</function>,
306+
<function>array_cat()</function>,
307+
<function>array_position()</function>,
308+
<function>array_positions()</function>,
309+
<function>array_remove()</function>,
310+
<function>array_replace()</function>, or <link
311+
linkend="functions-math"><function>width_bucket()</function></link>
312+
used to take <type>anyarray</type> arguments but now take
313+
<type>anycompatiblearray</type>. Therefore, user-defined objects
314+
like aggregates and operators that reference old array function
315+
signatures must be dropped before upgrading and recreated once the
316+
upgrade completes.
317+
</para>
318+
</listitem>
319+
320+
<listitem>
321+
<!--
322+
Author: Tom Lane <tgl@sss.pgh.pa.us>
294323
2020-09-17 [76f412ab3] Remove factorial operators, leaving only the factorial()
295324
-->
296325

0 commit comments

Comments
 (0)