Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tJD4Y-001WWE-8u for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Dec 2024 14:43:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tJD4V-006kGX-8i for pgsql-hackers@arkaria.postgresql.org; Thu, 05 Dec 2024 14:43:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tJD4U-006kGO-LL for pgsql-hackers@lists.postgresql.org; Thu, 05 Dec 2024 14:43:16 +0000 Received: from fhigh-b4-smtp.messagingengine.com ([202.12.124.155]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tJD4S-001CJ0-DS for pgsql-hackers@postgresql.org; Thu, 05 Dec 2024 14:43:15 +0000 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id 8606325401DB; Thu, 5 Dec 2024 09:43:10 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Thu, 05 Dec 2024 09:43:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1733409790; x=1733496190; bh=x ZESR3WNnv3WYn4C8HgUFN4qavVhXUa/8KOeFySybDw=; b=M3MTe8zTtvQBaFqYy sPHWD3AU+SXUssv0DgtlKezFZZmcXuRpsm/nlTBCwq0uwqn3eDxYiudmXAQrD4us 6FYb147EKCf1znnF3iuzlnu1JhUHH8hM/Y+X4WWqBBQOUHK4b2L/3i2KViSdd1g4 qunQc2ETlZy1wekh3OsporqNb3NslCpwwIaMZfE0sO3PorhZx672u/5+St/pFC4z k3d/B2/FLiKmU7hImYfp+Lb+zHCEMb2MQXNMdDbDD8/iXGTVTT8g9viFNLFquJcK o1WZYysFdba/OZQyFJCAV2FtK6m85ZdiUy7upm48CsaVR+czQe7TL6jKaH5pAhrE rv50Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrieejgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecu hfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrd hnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfej jefhgfeiueeukeejkeffgfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprh hishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdpnhgspghrtg hpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjhhirghnrdhunhhi vhgvrhhsrghlihhthiesghhmrghilhdrtghomhdprhgtphhtthhopehrvghshhhkvghkih hrihhllhesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhs sehpohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehtghhlsehsshhsrdhpghhhrd hprgdruhhs X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 5 Dec 2024 09:43:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1733409788; bh=F/g6dCvxSF90rtDy+x39WXmFcOj/LiGf3ONHoTF2wPE=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=RqLTxj8pQkvdHhHfeWdMs+r3CISd8hxslkyUZkp1oIESCLvDrjsqnEGeXxET8M9/j 2NKFusk5I0MeI/jQYgNOwvSaf3B28cTRxnJieILSob+0/WjXtYuHfYst4oCR/qr0HB ONGrpKx0NQGO8K3TvSB1rf9hn2XmM7pfQMYCO/lXp+WMQSpIjjz4RipmoSCF/stOZZ uWfNhviWKILNAGUNX6QiXhnq6MZXei85fFajKrMIqVPADMpIl260/R0E73+dodt+ji TZL28Wp+ySIc4TsNEZkcxbCOBx6x/D0mizCNP0ZfF6JwW4I2ZWRuNeans4z5GaBr8G ksCZMT78Rcl3Q== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 8FEBC9E; Thu, 5 Dec 2024 15:43:08 +0100 (CET) Date: Thu, 5 Dec 2024 15:43:08 +0100 From: Alvaro Herrera To: Kirill Reshke Cc: jian he , Tom Lane , PostgreSQL-development Subject: Re: attndims, typndims still not enforced, but make the value within a sane threshold Message-ID: <202412051443.honqx6sa5nz3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Dec-05, Kirill Reshke wrote: > On Fri, 20 Sept 2024 at 07:11, jian he 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)