pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: array_cat anycompatible change is breaking xversion upgrade tests (v14 release notes)
Date: Fri, 11 Jun 2021 20:56:19 -0400
Message-ID: <2137765.1623459379@sss.pgh.pa.us> (raw)
In-Reply-To: <20210612003244.GA8278@momjian.us>
References: <20210609001000.GU16435@telsasoft.com>
	<20210612003244.GA8278@momjian.us>

Bruce Momjian <bruce@momjian.us> writes:
> OK, I came up with the attached patch.  This is one of the few cases
> where the incompatibility is not clearly related to the feature, so I
> left the existing item alone and just created a new one with the same
> commit message in the incompatibilities section.

I think phrasing this as though user-defined aggregates are the only
pain point is incorrect.  For example, a custom operator based on
array_cat would have issues too.

I suggest a treatment more like

    Some built-in array-related functions changed signature (Tom Lane)

    Certain functions were redefined to take anycompatiblearray instead
    of anyarray.  While this does not affect ordinary calls, it does
    affect code that directly names these functions along with their
    argument types; for example, custom aggregates and operators based
    on these functions.  The affected functions are [ blah, blah ]


			regards, tom lane





view thread (21+ messages)  latest in thread

Message-ID: <2137765.1623459379@sss.pgh.pa.us>
Permalink:  ../2137765.1623459379@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2137765.1623459379@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, pryzby@telsasoft.com
  Subject: Re: array_cat anycompatible change is breaking xversion upgrade tests (v14 release notes)
  In-Reply-To: <2137765.1623459379@sss.pgh.pa.us>
  References: <20210609001000.GU16435@telsasoft.com> <20210612003244.GA8278@momjian.us> <2137765.1623459379@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox