Re: BUG #17206: the function array_cat(anyarray, anyarray) does not exist

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: edouard(dot)hibon(at)free(dot)fr, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17206: the function array_cat(anyarray, anyarray) does not exist
Date: 2021-09-30 22:49:03
Message-ID: CAKFQuwbKPYOuaexih1fMDPKa7kTjLSVjNdWCRHn7iJ2+oukpHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Sep 30, 2021 at 2:51 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 17206
> Logged by: Edouard HIBON
> Email address: edouard(dot)hibon(at)free(dot)fr
> PostgreSQL version: 14.0
> Operating system: windows 10
> Description:
>
> Trying to create the following aggregate function :
> CREATE AGGREGATE array_accum (anyarray)
> (
> sfunc = array_cat,
> stype = anyarray,
> initcond = '{}'
> );
>
> I get the ERROR : the function array_cat(anyarray, anyarray) does not
> exist,
> SQL state: 42883
> whereas this works in PostGreSQL 13.4
>

You may find this commit to be illuminating. Work was done in this area
for v14.

https://github.com/postgres/postgres/commit/97f73a978fc1aca59c6ad765548ce0096d95a923

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-09-30 23:29:48 BUG #17207: Bad cost estimate of Merge Join despite correct row estimate
Previous Message PG Bug reporting form 2021-09-30 20:54:19 BUG #17206: the function array_cat(anyarray, anyarray) does not exist