Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?
Date: 2023-06-12 21:06:18
Message-ID: 3020223d-6cdc-8e15-56e6-bc8cfc6c2d81@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12.06.23 22:38, Tomas Vondra wrote:
> I noticed that these two function, introduced in d746021de18b, disagree
> on what types they support.

> I ran into this for INT4OID. Sure, I can just lookup the stuff and use
> the regualr deconstruct_array, but the asymmetry seems a bit strange. Is
> that intentional?

They only support the types that they were actually being used with. If
you need another type, feel free to add it.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2023-06-12 21:17:15 Re: Let's make PostgreSQL multi-threaded
Previous Message Peter Eisentraut 2023-06-12 21:04:04 Re: Order changes in PG16 since ICU introduction