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 1v9qES-009OzJ-6s for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Oct 2025 19:35:19 +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 1v9qER-004dDe-4v for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Oct 2025 19:35:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v9qEQ-004dDW-Oq for pgsql-hackers@lists.postgresql.org; Fri, 17 Oct 2025 19:35:17 +0000 Received: from mail-io1-xd2e.google.com ([2607:f8b0:4864:20::d2e]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v9qEN-002L7k-34 for pgsql-hackers@postgresql.org; Fri, 17 Oct 2025 19:35:16 +0000 Received: by mail-io1-xd2e.google.com with SMTP id ca18e2360f4ac-92b92e4b078so95046439f.0 for ; Fri, 17 Oct 2025 12:35:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760729715; x=1761334515; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=0yKmGKVKrM1zD0bzgKIwxQ1cupuRn9aRhfyALwUcyDI=; b=cfGw6CEpybP47ea06vEw8HffJQU6Je4RaXdqYkCm4fBuG5XBuCXStuUpta1c9Bomw/ jwa9b89JbYfAOz/2wtmZxbC7yOa4YY52Unfx8Hpn70ftwJ4gPgntmOXjJeWyLDsskRhm Q05bTnFYB7npju60GUI1fV0BeY2SSGn7u+ULsvm+8BEXCRT/L2FMol+aEnofemKEgYKh Fl0PrN2a0EwXSBxP5K2joOqjUSW/BLi49Js8HViqBAJWheuEMANaruNTkwFG1PPc5DJa G/EJJY3MC48qJL9/EuFAMkKO2Xz4tW7LzHEYv9ymiE7j1yPm6VsNAg4n6scSGvaaI4MF APSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760729715; x=1761334515; h=in-reply-to: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=0yKmGKVKrM1zD0bzgKIwxQ1cupuRn9aRhfyALwUcyDI=; b=fGCGSkEjtlJE47NKvDnH85sAzOHbtSyP7aiD7dSzjeQEoHsqPkf0eur1PJcAgkNexN HBCe05Wsjf5IwLTS8UG4HEiQmr728gPuUYxRPYsrE1YpMBRmOamqcBQF4aKGdVGagx1Z okRryHpNrjClsQ+6fknzLoZ9yPjcdLUSfOpGBRSuZ9Z9JGv3/fEMxcN/ksbg75fcCKf+ bYvU4TYO33Qh9oqiPfiFG0/NGKWm8rWiMnYQwxYhblfxUrSKkZlAhrX1sv5Cpke9HicQ dBicslk1gRN0bh7qKgAIEU5SpIL9yy19TgYsHarwF/+uDYl4sHpbCBbzn8wdHPCidtRv 8Hkw== X-Gm-Message-State: AOJu0YxlyYBN+1XBtvUdnuq7QU4c3OHY1wsh4F/5aumoYSHjFzfK4ZD/ HFmCN5dxRHuBndNyg/WE64Fr3CddJrmTIkXDWgYEWmSeDv12ABotEwhA X-Gm-Gg: ASbGncs0bdBpYZcSjictJLa/QPf4/Sy1Y9PXGhFe6/tq/KlHV1Jb+WF5kAi/Qazbj0D hxHkrtHbRpJ+CyAw+Q96EedOXs/VzA3m5Rbea2e6pwRKFvIwSsKUYA6eiXb2OllkmhKkqI7i75M ax0weNq9OnEGj9qZX+n6Nf+D8O0ME+2o9dwZaPsb1i6GV4sYXsvHg+8jH6AGzx+o+yMYpw+yrAr qKn2wP0d+c1RlpEKG3psd7LheqmAylfSyeKNkXHCGpybiPFeR4Ql8duGPh6xfg6r0/nfZzE3DS0 ts04tc/hEFYRueeYAf/zQCFn5qk3HPaGInCkADrGTPR5TDReeWo/yoJEnSe+uo2GYxl0AUa2Zfs SWYxOm2iH52Vt0Yo6OPvrJcGAJvDwR6kklnmeKhyNgSd50INUehamBQF4qoNi+7MYvn3Wt4vUmt 6Upqph2agdgfaan6BPiibSdG+16DlsoWQV//wIehsNyhUFDFz/G83rD/XEuMaBbfS39nioW7Qtd FHjn3e+AhhWPYo= X-Google-Smtp-Source: AGHT+IGS8c4t6l83HKZQ6z+j/MaAJubjX+CO2YzqvQsWDa10fTiEBgjDpcNP7aTQBP6Axf8pzrcRQA== X-Received: by 2002:a05:6602:6d16:b0:929:86d3:8ddb with SMTP id ca18e2360f4ac-93e763d8713mr745969039f.10.1760729714980; Fri, 17 Oct 2025 12:35:14 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-93e866424a3sm18342939f.9.2025.10.17.12.35.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Oct 2025 12:35:14 -0700 (PDT) Date: Fri, 17 Oct 2025 14:35:12 -0500 From: Nathan Bossart To: Tom Lane Cc: 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> <1728139.1760729230@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1728139.1760729230@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Oct 17, 2025 at 03:27:10PM -0400, Tom Lane wrote: > Nathan Bossart writes: >> I've attached a first try. You'll notice that I have borrowed heavily from >> .git-blame-ignore-revs. Some other things that might be worthwhile: > > There would need to be an initial entry at the time the file is > created, which would presumably point to some commit shortly before > the .0 version stamp is applied (or maybe we'd choose to do it around > rc1). The mockup should include that. Sure, makes sense. > I'd be slightly inclined to have just one non-comment line, which > is the active reference hash value, and all the rest be comments. > The way you have it here requires the reading code to be smart > about end-of-line comments, which is code complexity we don't need > and doesn't seem amazingly legible either. OTOH, the precedent of > .git-blame-ignore-revs may be worth following regardless of our > personal druthers. That crossed my mind, too. I'm personally not too concerned about small deviations from .git-blame-ignore-revs, especially if it improves machine/human readability. -- nathan