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 1vDRUO-008z7b-4J for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Oct 2025 17:58:39 +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 1vDRUM-008bwU-Qp for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Oct 2025 17:58:37 +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 1vDRUM-008bwL-H7 for pgsql-hackers@lists.postgresql.org; Mon, 27 Oct 2025 17:58:37 +0000 Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vDRUJ-004Yjp-08 for pgsql-hackers@postgresql.org; Mon, 27 Oct 2025 17:58:36 +0000 Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-785bf425f96so69861467b3.1 for ; Mon, 27 Oct 2025 10:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1761587913; x=1762192713; 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=0vjmoQJb2NXVQ6Yjo3pqAsdbUWspW1MUM+15kt2ft24=; b=W60yz+O3ZgH2EeEWy/R9omdj7PG4PnUK6D0NIeZZNCoxe4eYQxfYazQtrDwXUWuqwQ Qfxe1ZkSDPapUi+I2l5s1mDXARIid1LHUFzEMyQzhMSyAhI2nSmU15fcDS7/cf2khbTR jYtqbeg7O4y7aanh3ScqhbdH5bzlXwJDhZ0R1beBElt82vHve7/nHrBgeB9EaykSSSVO HwfItbTmvegRDfdwOicwRp33yKSnWrh/rv11AKiQtCxbte8+kIhPXKbKPibFqz1prb1k 2aYy8+EQJUIn6rL/AHgMeg3TlQp5h57irr42nQo8GpOemXyhO+rZTzeM/f1jmLoFud5y 7ldg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761587913; x=1762192713; 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=0vjmoQJb2NXVQ6Yjo3pqAsdbUWspW1MUM+15kt2ft24=; b=o7uOruv8XxgHJozuc7sde8DhQliaIK7Pn6Wwd76K2JoQBFiAvsez6IjpRqm1T7n+2g w8DVKVKiXZ9ffRg0PEtFkMY507Oe/HKHS0WjnyqbDkP39XWjAY45xH93m4SGP+gqpkbt umqRoFtShIDpbz38wByazhN9tDM9XxFkZorDVTIbgqRdPMIlaJlDIX3SNE6rbUG+9gJC uWBWIdva6tLDKtA0GhchmmTgABVFNH01eI6EzUkMYybr41MIUN88C7Kskh2er0DHUQgh TYa5wEO3aUNnAuTaxm64PvcB+d34fPgohlQf2PK8+S1mVfEWzY73AkxhgDRMTd77VYI8 x8KA== X-Gm-Message-State: AOJu0YweUNc77cuEWBWwrMcDPenSa7OJjKXIEztZ1xydTKoH5EDWpMfg ArG1zGdC1vvs/sx3ZMZHP2TtJCWXoJh43jlhIyaudG0t0fdd6Lv7WUBW X-Gm-Gg: ASbGncuhGEBsPFNX0uuVAraZp0fIRWHefdzvUxFR1s5G/cR7mmY7OLlHMO/ZjOXNr5r ertp5T3zFjR8GST6RkIAZbOgxyMjbqEx4XhEAyEe+NTUrfHydTBDdZNmir3jEfC1DQiYi69NACd dvZfvfigC5Zjng8TvH5F2mNIVZFqIfiX4/ZeYfJO1guVH55V0hclln9b71kEpHDioc9c1L5GK7R 37f5llUfFNST+ijWrNa6/hw3tuHWmSl9+xREP15bDSQexDBI157WcL6poHLPTpa+3L7m+UFTtY+ mfA2vv+L7hnqoDJsxjBmLe2qJD0DSaJvSayaA2wXWclInbHYoTQAvjifhSfgCL3mVsoO+UJxHmy sZWqRmdQLBoYUCVChFoPtgA89tcq02xgY3CrEg1VmnbGI8ZifsbTxy8FxFpST6nAfdp1yH/EKgG JOHooFzEhRA1erbl7XrgX8RFkXBXh2vz9aC89KU/DkpXokQYCr0/9S/IMz128T9OOK X-Google-Smtp-Source: AGHT+IEoP6vMJbH8GjZzS9PZ0o+O+PJU7j7zZ0PWgasgtZDNtqiNyjP8kCfdaHKPiD2OsBn9Jw4e/g== X-Received: by 2002:a05:690e:2557:b0:63e:3b45:a409 with SMTP id 956f58d0204a3-63f6c69be58mr248621d50.12.1761587912653; Mon, 27 Oct 2025 10:58:32 -0700 (PDT) Received: from ?IPV6:2600:1700:8952:80:8c9a:5112:679d:8724? ([2600:1700:8952:80:8c9a:5112:679d:8724]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-63f4c4535basm2458878d50.19.2025.10.27.10.58.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Oct 2025 10:58:32 -0700 (PDT) Message-ID: Date: Mon, 27 Oct 2025 12:58:31 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] Add Windows support for backtrace_functions (MSVC only) To: Michael Paquier , Jakub Wartak Cc: pgsql-hackers@postgresql.org References: Content-Language: en-US From: Bryan Green In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/20/2025 3:40 AM, Michael Paquier wrote: > On Mon, Oct 20, 2025 at 10:10:25AM +0200, Jakub Wartak wrote: >> Cool, thanks for working on this. Win32 is a bit alien to me, but I've >> got access to win32 so I've played with the patch a little bit. With >> simple: SET backtrace_functions = 'typenameType'; CREATE TABLE tab (id >> invalidtype); > > Perhaps it would be possible to add some WIN32-specific tests that > check some log patterns based on the backtraces printed? (I have not > read the patch in details, just an idea while passing by.) > -- > Michael Michael, Thanks for even glancing at this. I did not add any regression tests because the output goes to the server log and not the client. BG