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.96) (envelope-from ) id 1wAGLc-002DVa-09 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 00:00:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAGLY-003MQR-0Y for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 00:00:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wAGLX-003MQI-1F for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 00:00:40 +0000 Received: from m16.mail.163.com ([117.135.210.2]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wAGLP-000000017kl-1LEk for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 00:00:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; bh=iufA2+QfRj3Ver9suv2HOkIJXDjJNGEMYrb6LRMw8fo=; b=l8n39Zob5nQhdmL2mt8jssLLZNWO8SlBThVIoVJCs5P1SnieoV0w6BtybjcnkG PfZoqJKWVAPqOizcKsByMygdtO12TSAoBhjnSy/JOBHYgjhmJ/XtgGKox4NbV0eX 45QkU2fTt4A2tYq30BYwlnDm3rXP/F67Y7mLWnyRLpbYg= Received: from andy-coding (unknown []) by gzga-smtp-mtada-g0-1 (Coremail) with SMTP id _____wC3l3pemtVptnzpDg--.65448S3; Wed, 08 Apr 2026 07:59:26 +0800 (CST) From: Andy Fan To: Haibo Yan Cc: Dmitry Dolgov <9erthalion6@gmail.com>, David Rowley , Peter Eisentraut , Amit Langote , Alvaro Herrera , jian he , Chapman Flack , pgsql-hackers@lists.postgresql.org Subject: Re: Extract numeric filed in JSONB more effectively In-Reply-To: (Haibo Yan's message of "Tue, 7 Apr 2026 01:31:16 -0700") References: <87r0hmvuvr.fsf@163.com> <8102ff5b-b156-409e-a48f-e53e63a39b36@eisentraut.org> <8734t6c5rh.fsf@163.com> <87o7bn7z56.fsf@163.com> <875xx197bp.fsf@163.com> <87ttk0lgcx.fsf@163.com> <8734m5fua1.fsf@163.com> <87a5dx4cfb.fsf@163.com> <7487A577-7BDC-4B94-9FFA-741E95439BFC@gmail.com> <873417fgc0.fsf@163.com> User-Agent: mu4e 1.14.0-pre2; emacs 30.2 Date: Wed, 08 Apr 2026 07:59:26 +0800 Message-ID: <87eckqz5i9.fsf@163.com> MIME-Version: 1.0 Content-Type: text/plain X-CM-TRANSID: _____wC3l3pemtVptnzpDg--.65448S3 X-Coremail-Antispam: 1Uf129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UbIYCTnIWIevJa73UjIFyTuYvjxUOhFxDUUUU X-Originating-IP: [101.227.46.165] X-CM-SenderInfo: x2klx3xlid0iqsrtqiywtou0bp/xtbDAB+N4GnVml8qxwAA3m List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Haibo Yan writes: Hi Haibo, > I agree that if this approach is extended to the full matrix naively, > duplication will become a real issue. Could you summary how it would be? I think it would be helpful for others to review. Otherwise every reviewer needs to count them many times. -- Best Regards Andy Fan