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 1lcZNL-0007pg-Bv for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Apr 2021 20:04:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lcZNJ-0004nz-8w for pgsql-hackers@arkaria.postgresql.org; Fri, 30 Apr 2021 20:04:33 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcZNJ-0004nr-10 for pgsql-hackers@lists.postgresql.org; Fri, 30 Apr 2021 20:04:33 +0000 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lcZNF-0005dX-CL for pgsql-hackers@postgresql.org; Fri, 30 Apr 2021 20:04:32 +0000 Received: by mail-pj1-x102a.google.com with SMTP id ge1so216202pjb.2 for ; Fri, 30 Apr 2021 13:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QUxTj0cwoZQYssyoB0kiy+U14GB9WD1REnUDHEIR04E=; b=dQbMGTNm8VpmY4B+SySZri7FPG8s9H/akRD5lxGehAtVNu/KedJeS8fayTdtypwoqw KnoFDVmaFe+hCISmGwwJBDPi1oqLBt0kSJzUrx3+DqfFiKtXYb1Ftr0wpt5AMlDlkUSS 4APMnC72juCwSdKjJQX6bzrlMGiNkJlyp0iw0ZRWSPiQLzPQVeASUt8V6UrB7Rs0VnJI uaAW9N/CMGCwVlwqlwtaHNroMRemYDfIgaj1gp6D7RtbzX4Qr9OO4capR4Q6e3HgJzQc J8iTa9qN7cdoi40BWDPBbncM5bHesoLfV+pjcgW/r4kNf+jP7qbJawcaHo/x5JtYSe4v pReg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QUxTj0cwoZQYssyoB0kiy+U14GB9WD1REnUDHEIR04E=; b=nIFbrnvOuTQd0RIlHHmtQBr/4oq1e8uOVdg7bHu7Q7/0TsiL4sRIUDXYbqyrGwM5jh 1pAL6ejABCzd6de3rDz0zkY90u6gY5Kp67Qa90W7kM557Wlx2zJ2BjofQUEsPLxe16l+ bRo4dRSDmdT8Np7K0P+rnbh5/ki5pic4RSA3xblqTSXtV6n2qFpNzvLSM5Ryf71GymDM +XIDqV8UTsqloRkcXp5X5M6qSxnS4fq2ZG91M0kLU/JZh4UVF7s1RO7V9aT5W2L0YmWF PFrs8HULie9a0NpsLEM35Da/OQkYfcZBA3oEtd0/N8XME8zAxhk+oMUUjzawu6jzdEPw 41cw== X-Gm-Message-State: AOAM531veF2GqF9SzzURew4/ZY+JF1WJuWaMxBSnDcvHHofJO1Q9Sela qhtF6/FD1+28gnyTJ8XmwAscPej+Np+lQX0VPPs6HPAfUclI7Y9J5ufp1IH/DGeG/0ofHJX3Cc4 +IOsZLdGoXUxAMmEtuo20AlF/7Z18gMMH7ZlMrp54tIrEkuEhOkl3ORGzG9PAkYHFsn98iwK6w6 +scYcdLHRvT5sIs2aTobXygSjnYNRIoFcxpioA X-Google-Smtp-Source: ABdhPJy0T4dcwA6pia3NsYmF64xJqZXPiyvYgn8GXDD5pN7dwmtd4bsXNo6Ju7dc1y1XfqLEBuFaxw== X-Received: by 2002:a17:902:7e86:b029:ed:74b7:8fd4 with SMTP id z6-20020a1709027e86b02900ed74b78fd4mr6811113pla.21.1619813067310; Fri, 30 Apr 2021 13:04:27 -0700 (PDT) Received: from laptop280-ma-us.hitronhub.home (24-113-193-150.wavecable.com. [24.113.193.150]) by smtp.gmail.com with ESMTPSA id j7sm2931288pfd.129.2021.04.30.13.04.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Apr 2021 13:04:25 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: pg_amcheck contrib application From: Mark Dilger In-Reply-To: Date: Fri, 30 Apr 2021 13:04:24 -0700 Cc: Tom Lane , Noah Misch , Peter Geoghegan , Thomas Munro , "Andrey M. Borodin" , Stephen Frost , Michael Paquier , Amul Sul , Dilip Kumar , Andres Freund , PostgreSQL-development Content-Transfer-Encoding: quoted-printable Message-Id: <71C96F66-2FC5-4F45-BFBA-2AB91AF091B1@enterprisedb.com> References: <9E76E46A-48B2-4869-BD0C-422204C1F767@enterprisedb.com> <20210313184612.GA3195145@rfd.leadboat.com> <930621E5-5D10-456D-8CE4-CF629A6C4669@enterprisedb.com> <20210313191841.GB3195145@rfd.leadboat.com> <3012106.1615827854@sss.pgh.pa.us> <3053552.1615834640@sss.pgh.pa.us> <4F10540A-9022-49EE-A6FC-7FE90797793E@enterprisedb.com> <0D48534A-F511-405D-8645-84B0A1DA1E11@enterprisedb.com> <6915B9B2-B551-4DBC-89DB-C12D9AF985B8@enterprisedb.com> <23192440-3B8A-4D82-8C24-9D8161BAAB01@enterprisedb.com> <1F1A6246-854F-47F0-A179-A3CD9F05356B@enterprisedb.com> <50DA1F9A-D6AB-40DE-AB24-E8BDC13F4DA1@enterprisedb.com> <7D3B9BF6-50D0-4C30-8506-1C1851C7F96F@enterprisedb.com> <98A8DC97-A585-44D8-9F79-B8232B8FABE3@enterprisedb.com> <688D64BA-196B-42A1-8D56-645793EC252C@enterprisedb.com> <4DE07822-A9F5-4D76-9447-CE36C844534F@enterprisedb.com> <356632EB-924D-438C-A4AB-97A1CAF6B039@enterprisedb.com> <32D4C61A-8FD6-4C22-A62D-5594D5B4CCE6@enterprisedb.com> <91ED0048-C788-4540-B21F-6EBE622E9390@enterprisedb.com> <7A011F15-8C4D-49D5-9633-910A10A12F7B@enterprisedb.com> To: Robert Haas X-Mailer: Apple Mail (2.3608.120.23.2.4) X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Apr 30, 2021, at 12:47 PM, Robert Haas = wrote: >=20 > Hmm, I think that might need adjustment, actually. What I was trying > to do is compensate for the fact that what we now have is the next > chunk_seq value we expect, not the last one we saw, nor the total > number of chunks we've seen regardless of what chunk_seq they had. But > I thought it would be too confusing to just give the chunk number we > were expecting and not say anything about how many chunks we thought > there would be in total. So maybe what I should do is change it to > something like this: >=20 > toast value %u was expected to end at chunk %d, but ended while > expecting chunk %d >=20 > i.e. same as the currently-committed code, except for changing "ended > at" to "ended while expecting." I find the grammar of this new formulation anomalous for hard to = articulate reasons not quite the same as but akin to mismatched verb = aspect. =E2=80=94 Mark Dilger EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company