Re: attndims, typndims still not enforced, but make the value within a sane threshold - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: attndims, typndims still not enforced, but make the value within a sane threshold
Date
Msg-id 202412051443.honqx6sa5nz3@alvherre.pgsql
Whole thread Raw
In response to Re: attndims, typndims still not enforced, but make the value within a sane threshold  (Kirill Reshke <reshkekirill@gmail.com>)
Responses Re: attndims, typndims still not enforced, but make the value within a sane threshold
List pgsql-hackers
On 2024-Dec-05, Kirill Reshke wrote:

> On Fri, 20 Sept 2024 at 07:11, jian he <jian.universality@gmail.com> wrote:
> > attached patch removes attndims and typndims entirely.
> 
> LGTM?
> I see no open items in this thread. Are there any issues about v1?

Should we leave TupleDescInitEntry()'s API alone, to avoid breaking the
compilation of every extension in the world?  Maybe we could rename the
function (say to TupleDescInitializeEntry()) and use a define?

#define TupleDescInitEntry(a,b,c,d,e,f) TupleDescInitializeEntry(a,b,c,d,e)

Then the amount of churn is reduced, no extensions are broken, and we
can remove the define in a few years.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"Debido a que la velocidad de la luz es mucho mayor que la del sonido,
 algunas personas nos parecen brillantes un minuto antes
 de escuchar las pelotudeces que dicen." (Roberto Fontanarrosa)



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: generic plans and "initial" pruning
Next
From: Peter Eisentraut
Date:
Subject: Re: Proposal to add a new URL data type.