Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lz1f9-0002AW-B0 for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Jul 2021 18:43:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lz1f8-0004qE-Aa for pgsql-bugs@arkaria.postgresql.org; Thu, 01 Jul 2021 18:43:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lz1f8-0004q6-3s for pgsql-bugs@lists.postgresql.org; Thu, 01 Jul 2021 18:43:46 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lz1f6-0002Ab-2a for pgsql-bugs@lists.postgresql.org; Thu, 01 Jul 2021 18:43:45 +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 161Ihgbr746555; Thu, 1 Jul 2021 14:43:42 -0400 From: Tom Lane To: maxim.boguk@gmail.com cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17079: btree_gin and type coersion combination doesn't work In-reply-to: <17079-c5edf57c47debc2c@postgresql.org> References: <17079-c5edf57c47debc2c@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Thu, 01 Jul 2021 17:39:24 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <746553.1625165021.1@sss.pgh.pa.us> Date: Thu, 01 Jul 2021 14:43:41 -0400 Message-ID: <746554.1625165021@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk PG Bug reporting form writes: > There are simple case when type coercion work with common btree index but > doesn't work with btree_gin. btree_gin doesn't bother to cover any cross-type operators. That could possibly be fixed, but I think it'd be a pain since the applicable cross-type operators would vary for each data type btree_gin covers. regards, tom lane