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 1v89SG-00DaJg-AD for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Oct 2025 03:42:36 +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 1v89SE-003qCl-1g for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Oct 2025 03:42:34 +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 1v89SD-003qCc-O4 for pgsql-hackers@lists.postgresql.org; Mon, 13 Oct 2025 03:42:34 +0000 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v89RE-001rG1-2Z for pgsql-hackers@lists.postgresql.org; Mon, 13 Oct 2025 03:42:34 +0000 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-269639879c3so37033785ad.2 for ; Sun, 12 Oct 2025 20:41:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1760326891; x=1760931691; darn=lists.postgresql.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=tQMoy72B41icpWe1A5I6rAxSslADDcoKkbmTDVA5rAw=; b=VMetg0BnqhLx9ZMyHsytgDzSTSqUQjGD79f7oeKHRFglnJ7dJoSrjT2yTzW7YnGu40 2iA9kKUsES8QkGGOPokGxDMqTvh6dKXLIj/R8FC3cQ59D4h9D234ttDa0n6rz98Fj7OD M7zpz5HXZ120JG5NAOM2QThIsjIvttL3XxD7hyzM5zuTaVXNSXHaJjaxiQN4PMh9XGh8 NsQY+zHEpR5d9cUY7K5v0PgKJeTxSnA0PJ2WUxC2L3okyk9dvJ9ad+8CNIJ+3GG+DoUE vuEMYYUJmTP3CJ0i0FfnMZcz3ZZC7An0V9XQ2k+aVO0T1Q1A4Tc9C039cNaAw95kS9f3 YXbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760326891; x=1760931691; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tQMoy72B41icpWe1A5I6rAxSslADDcoKkbmTDVA5rAw=; b=D8BHBakcpfczUiDbzl2CFcyfeWUMdbLPoX+NN+sIpa2AK6Wtx6TFPWUpxm7yZRgOGQ Ii9zVwu8H7hCo6uhv5O0Uqu/yr8+KAZeUPBppja5w1644lQDE28QU8vCGlebnm8h+exa HSQ13sjLxwh1BaJUO6fAddejaTClcOV76MYtRJiRbvw20T4v95xnhMZFPrEKbw+betXV k6/MoSJVjELOZMlVQf+36jhIua59uS1HyeqopwepGW7FIX4h3BaNgwXW0wWMW7iiF7SU K9BwbBeasXoOHQ6hpgy39Zorkh4bXY6GW/v7kQ+I7EuRtnIvKg7avAARFXUN1Qp0zxfU gzuA== X-Forwarded-Encrypted: i=1; AJvYcCW+58PqdnJxwFx5DOzxPIciDm5OhIPcGxfaTB+wpOJeKE1XFjXE9r+tEIvB0MUaRiYKaqUuARlbXri/a2/k@lists.postgresql.org X-Gm-Message-State: AOJu0YzZjabNuyoeeZTks6etrorwLLpxK4Wh/ujJqbbmHd1lGVjLDzmk eL2f0aYlAoSgw/539EnKMoi2h8/RNO7BudMamsbfzhOLLambEfPshPV/ X-Gm-Gg: ASbGncvnwL12osn6+sizzxB+HKC5uEDBKkxhmYOvUdsr156Ux3flRfjOWPD8PH0DN35 PuYfNZfz2Y9WN1bpAhLUtff79NqNv2PWHHpdDQYpxCgxWcna0amJnl7tpRArKx3RNH39ILnQWWp Hft+GFw3kyn5sD4XEE3rQHgP8qZGLL3w8Lix1gxK5dVHJ6BhKpW55cq8i/z19yZxsPE+3swpOQE HVQJy/NZCNoSg+nWK2//Y4H0OnSgPSB3dgHXgosU/saZ3N+vfJ2pK8VBwh1CZ9/aOSo7gfi/0wZ kgtKSVhBGww/f5btoaAdJ+PF8/AOht2Jh7rJVQYrMYupAMnHG4OrQuk9RfYf8ydL5pnDISZ8Fv5 L5OWqK97ju8HK3W5rFuYpfXJMi81BOmpSBhK3hZJBgSefOc3EEYNR X-Google-Smtp-Source: AGHT+IE0mom8fZob1itr4C8s1nmOPiqmbKa5ClxXVga3B2m+xxcdYhL1BJ9WSNN5wS61CIKzzUOO/w== X-Received: by 2002:a17:902:ebc5:b0:24c:d322:d587 with SMTP id d9443c01a7336-2902739ad8cmr285870235ad.26.1760326890918; Sun, 12 Oct 2025 20:41:30 -0700 (PDT) Received: from smtpclient.apple ([170.178.170.211]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29034f4ae6csm118885935ad.108.2025.10.12.20.41.28 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 12 Oct 2025 20:41:30 -0700 (PDT) From: Chao Li Message-Id: <12B091E6-8395-4570-807D-0116660D9F1F@gmail.com> Content-Type: multipart/alternative; boundary="Apple-Mail=_F6351FD0-83DC-4147-8CAF-807784221B22" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: [PATCH v1] parallel pg_restore: avoid disk seeks when jumping short distance forward Date: Mon, 13 Oct 2025 11:41:15 +0800 In-Reply-To: Cc: Tom Lane , Dimitrios Apostolou , Nathan Bossart , Thomas Munro , "pgsql-hackers@lists.postgresql.org" To: "David G. Johnston" References: <2edb7a57-b225-3b23-a680-62ba90658fec@gmx.net> <1282067.1744651649@sss.pgh.pa.us> <5ed51587-5a24-4d79-e36e-927620d0e3a2@gmx.net> <72d2c81b-a0fe-3d99-9dd4-0d771e6e673e@gmx.net> <1po8os49-r63o-2923-p37n-12698o1qn7p0@tzk.arg> <3515357.1760128017@sss.pgh.pa.us> <3698234.1760149336@sss.pgh.pa.us> <3686.1760232320@sss.pgh.pa.us> X-Mailer: Apple Mail (2.3826.700.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_F6351FD0-83DC-4147-8CAF-807784221B22 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Oct 13, 2025, at 11:39, David G. Johnston = wrote: >=20 >=20 > =E2=80=9Ciif=E2=80=9D is shorthand for =E2=80=9Cif and only if=E2=80=9D.= So it isn=E2=80=99t likely to be a typo; it only needs to be changed = if it is wrong. I haven=E2=80=99t looked to see. >=20 Thanks for the explanation, I wasn=E2=80=99t aware of that. I learned. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/ --Apple-Mail=_F6351FD0-83DC-4147-8CAF-807784221B22 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Oct 13, 2025, at 11:39, David G. Johnston = <david.g.johnston@gmail.com> wrote:


=E2=80=9Ciif=E2= =80=9D is shorthand for =E2=80=9Cif and only if=E2=80=9D.  So it = isn=E2=80=99t likely to be a typo; it only needs to be changed if it is = wrong.  I haven=E2=80=99t looked to = see.


Thanks for = the explanation, I wasn=E2=80=99t aware of that. I = learned.

Best regards,
--
Chao Li (Evan)
HighGo Software = Co., Ltd.
https://www.highgo.com/




= --Apple-Mail=_F6351FD0-83DC-4147-8CAF-807784221B22--