public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Tomas Vondra <[email protected]>
To: PostgreSQL Hackers <[email protected]>
Subject: Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?
Date: Mon, 12 Jun 2023 23:06:18 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

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.







view thread (4+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Shouldn't construct_array_builtin and deconstruct_array_builtin agree on types?
  In-Reply-To: <[email protected]>

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

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