Re: Proposal to adjust typmod argument on base UDT input functions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Octavio Alvarez <octalpg(at)alvarezp(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Proposal to adjust typmod argument on base UDT input functions
Date: 2025-08-08 04:46:22
Message-ID: 1778630.1754628382@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Octavio Alvarez <octalpg(at)alvarezp(dot)org> writes:
> I crafted the following rough patch which passes the target column
> typmod on input functions instead of -1 for OIDs >= 16384. The intention
> is to affect UDTs (user-defined types) only, not core data types.

I don't really see how we could accept this? Wouldn't it break
every existing extension datatype that uses typmod?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2025-08-08 05:04:34 Re: event trigger support for PL/Python
Previous Message Octavio Alvarez 2025-08-08 04:31:10 Proposal to adjust typmod argument on base UDT input functions