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 1sqvOb-00E4yj-4A for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Sep 2024 14:11:06 +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 1sqvOa-00AXPl-ND for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Sep 2024 14:11:04 +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 1sqvOa-00AXPc-DG for pgsql-hackers@lists.postgresql.org; Wed, 18 Sep 2024 14:11:04 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sqvOW-001pr6-5j for pgsql-hackers@postgresql.org; Wed, 18 Sep 2024 14:11:03 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 48IEAvJP1807435; Wed, 18 Sep 2024 10:10:57 -0400 From: Tom Lane To: jian he cc: PostgreSQL-development Subject: Re: attndims, typndims still not enforced, but make the value within a sane threshold In-reply-to: References: Comments: In-reply-to jian he message dated "Wed, 18 Sep 2024 21:06:00 +0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1807433.1726668657.1@sss.pgh.pa.us> Date: Wed, 18 Sep 2024 10:10:57 -0400 Message-ID: <1807434.1726668657@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk jian he writes: > Can we error out at the stage "create table", "create domain" > time if the attndims or typndims is larger than MAXDIM (6) ? The last time this was discussed, I think the conclusion was we should remove attndims and typndims entirely on the grounds that they're useless. I certainly don't see a point in adding more logic that could give the misleading impression that they mean something. regards, tom lane