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 1o8w9G-0001ER-MM for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jul 2022 03:56:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8w9F-00066z-I9 for pgsql-bugs@arkaria.postgresql.org; Wed, 06 Jul 2022 03:56:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8w9F-0005yS-9i for pgsql-bugs@lists.postgresql.org; Wed, 06 Jul 2022 03:56:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8w9D-0005Ii-4P for pgsql-bugs@lists.postgresql.org; Wed, 06 Jul 2022 03:56:20 +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 2663uIrP2074693; Tue, 5 Jul 2022 23:56:18 -0400 From: Tom Lane To: Michael Paquier cc: d.koval@postgrespro.ru, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17539: Assert after CREATE OPERATOR CLASS command In-reply-to: References: <17539-37e89c604ebc0e02@postgresql.org> <2029909.1657060342@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Wed, 06 Jul 2022 12:41:07 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2074691.1657079778.1@sss.pgh.pa.us> Date: Tue, 05 Jul 2022 23:56:18 -0400 Message-ID: <2074692.1657079778@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > Agreed. But isn't the proposal of Dmitry to switch the assertion to > an error a good thing though? If you're excited enough about it to commit it, I won't stand in the way. But I know that there's plenty of other stuff you can break with a crafted opclass definition. regards, tom lane