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 1mHy3E-0000wm-FT for pgsql-performance@arkaria.postgresql.org; Mon, 23 Aug 2021 00:42:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mHy3D-0002Hs-6C for pgsql-performance@arkaria.postgresql.org; Mon, 23 Aug 2021 00:42:55 +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 1mHy3C-0002Hj-RP for pgsql-performance@lists.postgresql.org; Mon, 23 Aug 2021 00:42:54 +0000 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mHy39-00086y-Mc for pgsql-performance@postgresql.org; Mon, 23 Aug 2021 00:42:53 +0000 Received: by mail-il1-x135.google.com with SMTP id g8so808959ilc.5 for ; Sun, 22 Aug 2021 17:42:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=aZ8LvD4TF2vWGBLM7y5Co+XjTA6VaRawefiQ8ZonyCg=; b=zt5qozacdVmZA0QM/mQPGvkA9aboHndDRs88sstRf8wDEAF8E5PG5sWnSHN5FbGrum AzV7PKxLi+aTtuNMXUOm8wV8V79M7lb/qF7iwzaSEN3h18T5O5azvFxxHbpaVZRTYF/s ew2zfbiqdgmyzR3p0ufstoAlJHOyogAxsB4j+k5rUetcDngkMft/gFVHXCJz503nBgWE 5PagtZXWUSV+QudSm9VIJDG1TdEJ8lvPlaWhvjVHwrYHvM4EMLxTKDQbBkxbhGgkM7ZC Gp43UZnSSCCmscLw5D4pPoCjUcF4SPxPSsA3yAByoWsWOdDkjmFpWEvIcQlK+240GlOQ VrPw== 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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=aZ8LvD4TF2vWGBLM7y5Co+XjTA6VaRawefiQ8ZonyCg=; b=kuklJsjk+UViv3fQJicyylarbesFwjGjhJnd+AmQ21zKEbmMGYiBKa03QtrFbdykni U+/TqcKPSzV/ej7r2oQRxODDFKbQGJJU46BrbsenzfwkYjupjOQHnNsfPLi1Xd0WQRuI oJ2HRmTaK1WJG+ybqgXj86fXZFniJtoW050SEvEq/auk27RANNojvwoOL09wYuWlUM37 5Yo+KVxtRWbFne+kDUR3dI4ZW1u/YQ3IkEBQ4ZsrHFODyTcqYwpNHAyaLc6fCTgAkIww 0aGzaJHKXVRFU9X6i8dQ4ElsGFy2U9ZwyXZMMF9KHcVR/Z85p4gkAJY1v063VEZm16Vu f7+g== X-Gm-Message-State: AOAM530hHgqYdkts/4/5YQ44CVJW+NuPzs+wXPmSilb53ZxkersoDyVg DLf4888T6nj/85nAp9wgovgDkw== X-Google-Smtp-Source: ABdhPJxp8aaVnZO2saNdaz1YljIKCaB2lX21nARTp2o5RaSql23a1NopHlZZaT4oZQRYhWmk3KQsDg== X-Received: by 2002:a92:da0c:: with SMTP id z12mr20841772ilm.205.1629679370789; Sun, 22 Aug 2021 17:42:50 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id f6sm7412666ilr.77.2021.08.22.17.42.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Aug 2021 17:42:50 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id BD48F800AEA; Sun, 22 Aug 2021 19:42:48 -0500 (CDT) Date: Sun, 22 Aug 2021 19:42:48 -0500 From: Justin Pryzby To: Ranier Vilela Cc: ldh@laurent-hasson.com, Tom Lane , pgsql-performance@postgresql.org Subject: Re: Big Performance drop of Exceptions in UDFs between V11.2 and 13.4 Message-ID: <20210823004248.GA10479@telsasoft.com> References: <20210822154758.GZ10479@telsasoft.com> <30496.1629654632@sss.pgh.pa.us> <35729.1629660223@sss.pgh.pa.us> <38107.1629663085@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, Aug 22, 2021 at 08:44:34PM -0300, Ranier Vilela wrote: > > If there is any way I can help further... I am definitely not able to do a > > dev environment and local build, but if we have a windows developer > > reproducing the issue between 11 and 12, then that should help. If someone > > makes a debug build available to me, I can provide additional help based on > > that. > > Please, download from this link (Google Drive): > > https://drive.google.com/file/d/13kPbNmk54lR6t-lwcwi-63UdM55sA27t/view?usp=sharing Laurent gave a recipe to reproduce the problem, and you seemed to be able to reproduce it, so I think Laurent's part is done. The burden now lies with postgres developers to isolate the issue, and Andrew said he would bisect to look for the culprit commit. -- Justin