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 1v9q81-009NBf-E6 for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Oct 2025 19:28:40 +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 1v9q80-004WB4-BZ for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Oct 2025 19:28:39 +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 1v9q80-004WAu-2Y for pgsql-hackers@lists.postgresql.org; Fri, 17 Oct 2025 19:28:39 +0000 Received: from mail-il1-x131.google.com ([2607:f8b0:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v9q7x-002luw-0E for pgsql-hackers@postgresql.org; Fri, 17 Oct 2025 19:28:38 +0000 Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-430c773eec6so10975205ab.0 for ; Fri, 17 Oct 2025 12:28:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760729315; x=1761334115; darn=postgresql.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=ZKaEQ38hmRH1vlKzaIeuopb4vl+y/5U3enX7+tQp+qQ=; b=VWenP4BmTiEL3FG6aEJvFwQAe3lX77IQGkJKzab7Z17FuJ1VVNlyzm4Af73BrMVmmE xGR3u6Kt+UiXj/iiVH5IJqewr635RtEIYtNABWosiuzM61gqAUM4nOb7KifX3CK+zZo7 FhCfIpEUimkpeUXYRQWCjGS4kizfGYZjmPNl9bq2qWNPY/cMBWTCsikICk8xsOX/W5xT dC4/EfbNSWoeGeosvcfaTnFedSpdkE9jB8M/kEGvofk8xULaHsTrEubhcBaAqNvKm5T7 28XhE94eo57WTszHHwreejksFo8B7Pl7ZQ1kDgl2vFtJzkILXjAbeStLVqk+soKVWiT9 0+6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760729315; x=1761334115; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ZKaEQ38hmRH1vlKzaIeuopb4vl+y/5U3enX7+tQp+qQ=; b=GpN4+qRCPYqJiSxPK4ab3RztoeGXLbt8YGP/zd/mGKejhDCqcpwItr5iyhipwE0/cG 8ARIaGhcev4SjmsUZ/tf+GKru2lg7N8Pjc4EI0MjFt4nEa9/n7FBognRMcsM52AdA1QI JNPn6Q1jv6izATksnpdakUkdlAPb5UJz5AfsMVHAejQTMnMMElH8Nr0FMp5L1iOFeeIi a3/SQEMBlYZqe/LGzjpSqYcIYMlFQSLjiLFj9GUwvsSap7NyPyJYkUsD9zfbfhYaEPmE qEiEFjsmHI8GP1ojvgHj6FkkIlIcz46NULeuadN+d9/Bu1VuTkFpeOsgQRu3KLM3I0C6 6uwA== X-Forwarded-Encrypted: i=1; AJvYcCWYYTLRA2A9AnYWFb3kvGk39vJA5Vw2THHE1tgv3Ns4fGw7oci2rg7dqM5DKvH0mPCquDu3FI/+kzdlMsKT@postgresql.org X-Gm-Message-State: AOJu0YwXy4Sr1n590LbcY3kBZl48eUFJz70Fz8+zDGj/tBXMhXU6ndUb msW5cj27XRq6V5YDbnz+zqIpyB4y7AIi54EXjwoNW8cop1ZY3JWMNmKZ X-Gm-Gg: ASbGncuUU+atICcH42MFsXzHMgH/GE3rWsRKpxY5GnASB1WyBLl87g0iGWmMLq9GEOf 3wopqK1mSR7njs9670kSBxKP5Pd8BOSf0y71e6N99xAbOZpm73ElX+eu/XIa/StBk4hcYZBW0Pp ZQ5GNB5hR11HVoiD9iZDJq5TJnT62EkL8y3klYzJXS/DIudkRT3N4q3+vF8RmtNAql45Kyjd4u3 rOrRm2J2YnyqjFfFBLTVztnr96Q16pRtbb2o0feAd0FgqDHPZv4bB2UMmXlN8d19prBQVaGzVr1 tIuKnTqGanObtJr8l79nLtdeVVaTtkFKNzYNN67VsG6PWnB1yp63HU/Stl9IRnti4Y7/3b2GoSL hmVpW61OEYcArbF+8knGGcT+KamTq0FDSpMxihPPMabBmjBCERrKzgShgpzmphVGrTU5EIUhWaF Vy7cjeAwN5ZMgc6Ml3kAfuJvz6rDnk8rmSJR1yD/C+PWWLSJ9B7OL7ohHJAtcUu3hzvAnkNfm8r Ie+ X-Google-Smtp-Source: AGHT+IF+WINwoc2Nrml9MgAf/ppiO5gA7+GHMxLANLNTz3ikKhaWf1U8htFJQPS+wKNKnu3soWrS1A== X-Received: by 2002:a05:6e02:156c:b0:42f:94f5:465f with SMTP id e9e14a558f8ab-430c5292301mr81574975ab.29.1760729315480; Fri, 17 Oct 2025 12:28:35 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-430d06fa6c5sm2454935ab.1.2025.10.17.12.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 12:28:35 -0700 (PDT) Date: Fri, 17 Oct 2025 14:28:33 -0500 From: Nathan Bossart To: Peter Geoghegan Cc: Tom Lane , pgsql-hackers@postgresql.org, david@justatheory.com, Andrew Dunstan Subject: Re: abi-compliance-check failure due to recent changes to pg_{clear,restore}_{attribute,relation}_stats() Message-ID: References: <1713509.1760721320@sss.pgh.pa.us> <1723302.1760726712@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Oct 17, 2025 at 03:20:55PM -0400, Peter Geoghegan wrote: > On Fri, Oct 17, 2025 at 3:11 PM Nathan Bossart wrote: >> Anything else? I suppose this idea is entirely dependent on the >> maintainers of the abi-compliance-check code to adapt to it, so we'll need >> buy-in from them, too. > > That would require parsing the file and understanding that any > compliance failures associated with a given commit should be > suppressed. But that seems decidedly nontrivial to me. I can easily > think of (admittedly somewhat contrived) scenarios where it's > basically impossible to make this work due to transitive dependencies > across commits. I was imagining this working more like what Tom suggested. IOW we'd use the latest commit listed in the file (perhaps always the first one) as the baseline. Of course, this doesn't work too well if we have a bunch of ABI breaks between buildfarm checks. But my guess is that we could deal with that pretty easily (e.g., make sure the buildfarm member in question runs for every commit on the stable branch). -- nathan