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 1vEP8e-00BJSY-JY for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Oct 2025 09:40:11 +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 1vEP8d-00731q-7z for pgsql-hackers@arkaria.postgresql.org; Thu, 30 Oct 2025 09:40:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vEP8c-00731i-VD for pgsql-hackers@lists.postgresql.org; Thu, 30 Oct 2025 09:40:09 +0000 Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vEP8Z-0052nd-2d for pgsql-hackers@postgresql.org; Thu, 30 Oct 2025 09:40:09 +0000 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-78485808eb3so11256467b3.3 for ; Thu, 30 Oct 2025 02:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761817206; x=1762422006; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yDFyB0Q7ixKd8wICJ8AbUyW0GfRblCaSKjoFSq+hZbk=; b=iyjfkAbqlaPS1MIA09Qdxm1PfTu2AS7tnQ6HpXDYIzf/YI3fKqHCpKUpFKwkHwtlTp jE2cXK6kKqnVwlWIHYN9xGKbckDYhn5u8dbtHbUlquSlV+MtKVV3vMZoFVrYLMN1erkc 8PC9z6R9P0RKC8NJIHBTB0DocJoR7syne7mnwk/nkGaweeo8Z6aYtxwfxgks6QSpStGG 0ltqHRHzqtcNCVonpz/4WyZReyRZ+K92b6HvO2O8puGhuASFcDStuE2JmZxp9ebUhXZD Hpmz4sHxA2OpuFIrw+v9LQAO7HIu1jS1XFiBwviyHNmCVJTrz2TvAgnSBjJLt+DlJfAq urGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761817206; x=1762422006; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yDFyB0Q7ixKd8wICJ8AbUyW0GfRblCaSKjoFSq+hZbk=; b=YXSz32SNT5ODxnOGNshwfQW4JorP2gr9DFUp3a7vgWmfWM/uGvvmoQhfS8y2s+ERZK j88SJ0hUBGOjhnP9WX8PR7Tng8IT2UMDPeplvppFYw6c4ptG8UoBV1xti7ytnatvNEit 95BDaFRXPslQ2eLlbdSk8Me1GSc/D92rul7RWriBoG+FPSnqDamP/eAiYp1x8cUs9/9y 6M/Av+1DpJyiysnDD2kdjOGT8fgZ9F32YseM2Xw2MyWkmd1JB2Uqt5/4zb89dsHK/S34 Ng2YeHsu0wLtimQ8bcbS2U/R7J2JTBPRzVfqX0VMEWOEX3kuiOWutmOugf3glaI85BDR NzMQ== X-Forwarded-Encrypted: i=1; AJvYcCX8/KH5Kgzr6letaX8+wt1p7sJB30eRmVjFWVZimbJ5iKm+Quzt3/bxwSv9GIktV1t4kW1hst0baZdqasPh@postgresql.org X-Gm-Message-State: AOJu0YwPmZArNlupipsMCY4+DzXuQseStSdvC839ZiMqyg6w5Z+nbFCo aOJMYFAtP72ZqvFPh9648fOihe1gSvC/fc2cLmdoSU3oDz0QQr4Op9cE X-Gm-Gg: ASbGncv5gkDuubxAmpVLnVX/jHkVAVDs31HtiBYNp5iXzeVA4U0lLjgGajlbUavCHpo Hgr8YkbBWKTG65H4OpSNGGpCLHj3sOWbQCGocW5soaz49l9N7mn1nver+sU4pnMCMYHDttVU9rx zwFHgjCeeBBVgQgABICUjj7TyRp62eZJwOht356DkdoLVAbE2d8XzPfzSwHPVdhgS7FVBf14M/t 7pqg0zN4sey/097+NQcJL0fhheTFJPh+9s6O8eKt9SaI7FJT7u09Qmd44AmBI5eJa9n5EER8D9A 2zmlhLUYWmDHNbAtZtmyr59BU1cHgr486TAo19I+6fyhS+HxZhXyxygWSrZ/0GCPvjD2TZvieEH yM7tUqQTmxlRJD6aoLa01UNnBLSS3dzWqRxdQ6tzh/KZHpwpX5+Inj/PYRB9j0p0w62ss5uUwmZ QioOT0G6NwBzF6o1s13BMHAzyF1Bsl/NLeHExn4cTARfhWepPeeTKvyg== X-Google-Smtp-Source: AGHT+IHrxITCevKYQYFgj8Ioh8dzD9m4oZn1g1adMQwbhYWgpmNDnmkn9LVDsUDYXxGPUtRfGR37eA== X-Received: by 2002:a05:690c:4b03:b0:780:feef:dfee with SMTP id 00721157ae682-78628e82b02mr63012657b3.7.1761817205870; Thu, 30 Oct 2025 02:40:05 -0700 (PDT) Received: from ?IPV6:2600:1700:8952:80:b945:693f:d5d2:6c5e? ([2600:1700:8952:80:b945:693f:d5d2:6c5e]) by smtp.gmail.com with ESMTPSA id 00721157ae682-7864239099dsm975217b3.49.2025.10.30.02.40.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Oct 2025 02:40:05 -0700 (PDT) Message-ID: <5b4c6ce0-ed17-4abb-9127-859cc95cbdf3@gmail.com> Date: Thu, 30 Oct 2025 03:40:06 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Add Windows support for backtrace_functions (MSVC only) To: =?UTF-8?Q?=C3=81lvaro_Herrera?= , Jakub Wartak Cc: Euler Taveira , Michael Paquier , pgsql-hackers References: <202510300932.isdvgkzqzshk@alvherre.pgsql> Content-Language: en-US From: Bryan Green In-Reply-To: <202510300932.isdvgkzqzshk@alvherre.pgsql> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/30/2025 3:37 AM, Álvaro Herrera wrote: > On 2025-Oct-30, Jakub Wartak wrote: > >> Hi Bryan, cfbot is red. I'm was fan of having those tests for this >> (bring complexity and we didn't have tests for Linux backtrace >> anyway), but now MINGW win32 is failing on those tests where the >> feature is not present: > > I hate to say this after the code is written, but I think we should not > put any tests in the first step. I predict that these are going to be > enormously brittle and that we'll waste a lot of time making them > stable. I think we should commit the Windows support for backtraces > first, then consider whether we actually want TAP tests for the overall > feature. We've gone several years with glibc backtrace support without > any tests -- why do we think the Windows implementation thereof _must_ > necessarily have them? > It will not bother me to remove them. It was my first effort at writing TAP tests, so it was a nice learning experience.