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 1stpqa-00229q-6z for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Sep 2024 14:52:00 +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 1stpqZ-009d0z-GQ for pgsql-hackers@arkaria.postgresql.org; Thu, 26 Sep 2024 14:51:59 +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.94.2) (envelope-from ) id 1stpqZ-009d0q-6s for pgsql-hackers@lists.postgresql.org; Thu, 26 Sep 2024 14:51:59 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1stpqW-001Aeg-9A for pgsql-hackers@lists.postgresql.org; Thu, 26 Sep 2024 14:51:57 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1470:d7a0:cdb3:ed:178:ed8b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4XDxQ22G59z3Fx4; Thu, 26 Sep 2024 16:51:54 +0200 (CEST) Date: Thu, 26 Sep 2024 16:51:54 +0200 From: Christoph Berg To: Michael Banck Cc: Tom Lane , Tommy Pavlicek , Dagfinn Ilmari =?iso-8859-1?Q?Manns=E5ker?= , pgsql-hackers@lists.postgresql.org, Tomas Vondra , jian.universality@gmail.com Subject: Re: [PATCH] Extend ALTER OPERATOR to support adding commutator, negator, hashes, and merges Message-ID: References: <1092363.1695932314@sss.pgh.pa.us> <447166.1696969927@sss.pgh.pa.us> <560086.1698160614@sss.pgh.pa.us> <570833.1698162135@sss.pgh.pa.us> <66f33840.050a0220.1f9e60.7fb9@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66f33840.050a0220.1f9e60.7fb9@mx.google.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Michael Banck > I guess there's no way to make that error a bit more helpful, like > printing out the offenbding SQL command, presumably because we are > loding an extension? I wish there was. The error reporting from failing extension scripts is really bad with no context at all, it has hit me a few times in the past already. Christoph