Re: pgsql: Declare assorted array functions using anycompatible not anyelem

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Declare assorted array functions using anycompatible not anyelem
Date: 2020-11-11 15:25:38
Message-ID: 9f28c003-38a7-96c9-300d-b11e39fb5491@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers


On 11/10/20 3:31 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> On 11/9/20 5:41 PM, Tom Lane wrote:
>>> What I have in mind to apply to 9.5 through 13 is per attached.
>> You also need to modify first_el_agg_any.
> ... doh. That one is a little messier because there's no equally useful
> substitute function. What I'm inclined to do for that is to add a
> SQL-language wrapper to reproduce the old signature for array_append.
> As attached. (I'm keeping this separate from the other patch, since
> this doesn't go back as far.)
>
>

Seems reasonable.

cheers

andrew

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2020-11-11 15:50:32 pgsql: Remove vacuumdb --analyze-in-stages from pg_upgrade tests
Previous Message Peter Eisentraut 2020-11-11 10:07:11 pgsql: Add pg_nodiscard decorations to some functions