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 1kEBkR-0006VU-BF for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Sep 2020 13:27:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kEBkQ-0002jM-8a for pgsql-bugs@arkaria.postgresql.org; Fri, 04 Sep 2020 13:27:22 +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 1kEBkQ-0002jF-26 for pgsql-bugs@lists.postgresql.org; Fri, 04 Sep 2020 13:27:22 +0000 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kEBkN-0003kf-EZ for pgsql-bugs@lists.postgresql.org; Fri, 04 Sep 2020 13:27:21 +0000 Received: by mail-qk1-x744.google.com with SMTP id o5so6188978qke.12 for ; Fri, 04 Sep 2020 06:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=uZddEbjRMyrf/oXZ3GZRJiPcn05efznDCAG0Y0fvt9c=; b=AB37QG8szG6QZmLhKGcZ1FT2g0lWdokwcc4VaOv7Uw33H2IFXQJimiCw/nNV74Pcvy xB/KOflASOULlOlxZGc5GXoPi9R6dRqW7imq+KT5ii0dbQZ9WlvWqjMFqtin71ZJ/BdN p9Jdno8Jk+mRcXhJpufGVlBk32QnEiwVI/foHmJavVEiQktia6aGb7OQcoQcNeCcrR3o 5rW1/zOXzjYDfmUjdxaxioFzH7ax2fE80OMaVgr9LEEZtGYlT/JCPPc4LiJkvuxBU02Y n+0FA6LJqxqDxoJNpWcsNzC+wzczFWOJ297nzHvpwtqp3pJ77eEozTKDXH4pPrG7ycRJ GgZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=uZddEbjRMyrf/oXZ3GZRJiPcn05efznDCAG0Y0fvt9c=; b=SIqgh9WnlIynCHs9VhR15doZfg2FOQxURa3nx+jLKGtnFWbkbXObowv7GUabSbzDQz 4OGME9O+epaKQhbEJlDywfHimJXJB9yEYekZ3nyeQY01pcnjPsrrjBTS1keZD3c1zP1g jdJENiboBC/jld2xU6fLR3S5Y4iw49+sDmuXKvQlMKi2Mfxoqx+eu0SdelSqpdhkzsBH d9WGpqkN66riZmwdvfqzrvqEA50LbvjgCEUozY0UsrQOe9U6bdwt5boNVyXY7SWQyq0E zabz1ZzeWokkbNGNT8TVVF7bRr7YY3kx6w4Dj42d8jFf6p/C3nT5jBVb7xbLMtnEsYHR /Oug== X-Gm-Message-State: AOAM533jKQfz3lj3NGL51ZXgQGuQkFrA9E5JIUmEOnR6eseda9sZkr/F R5Qk3o75ptaRzgeZg/ZTKO41ng== X-Google-Smtp-Source: ABdhPJx7ybZFApXFTVQm/MDhGWu+i8D+R87Vjn8/dT06kpnQz2tZYkDPVSpovSQGQvydw1CEsjVrYA== X-Received: by 2002:a05:620a:1247:: with SMTP id a7mr8042583qkl.154.1599226038069; Fri, 04 Sep 2020 06:27:18 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id g8sm4451821qkl.28.2020.09.04.06.27.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Sep 2020 06:27:17 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 17BFD2A154C; Fri, 4 Sep 2020 09:27:15 -0400 (-04) Date: Fri, 4 Sep 2020 09:27:15 -0400 From: Alvaro Herrera To: Jehan-Guillaume de Rorthais Cc: Michael Paquier , pgsql-bugs@lists.postgresql.org Subject: Re: [BUG v13] Crash with event trigger in extension Message-ID: <20200904132715.GA5969@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200904113728.2d4a44bb@firost> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Sep-04, Jehan-Guillaume de Rorthais wrote: > Indeed, it's much more simple and cheaper. However, the result is a bit > confusing as it's not a wrong SQL result, but the backend that actually crash. > The crash message itself appears in results/test_extensions.out, but no other > tests are run. Neither from the same SQL file or from other ones. That Means > the diff is quite large, but the error appears close from the top. Oh! If it crashes without the extension, then we don't *need* the exension and surely we don't need the test to be in src/test/modules/; my inclination would be to put it somewhere in src/test/regress/sql/event_triggers.sql, maybe at the bottom, with a comment that references this thread. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services