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 1uvgfV-00HNS9-Fa for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Sep 2025 18:32:46 +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 1uvgfU-006stt-Fj for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Sep 2025 18:32:44 +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 1uvgfU-006stl-62 for pgsql-hackers@lists.postgresql.org; Mon, 08 Sep 2025 18:32:44 +0000 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uvgfT-001Cfs-02 for pgsql-hackers@lists.postgresql.org; Mon, 08 Sep 2025 18:32:43 +0000 Received: by mail-ed1-x52c.google.com with SMTP id 4fb4d7f45d1cf-6237202020bso3831090a12.3 for ; Mon, 08 Sep 2025 11:32:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1757356361; x=1757961161; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xNbFnGUuoG5CdZvwYaaxuhVA+Hu8fA8rCJlK4ytNXcw=; b=TlI/4VneH2jeRtfybMPDaEIIOUWn8wtvwJchRbPXwcdBo9Fjrx5LNSwJdr7AvotcMW L5nBjZoZbfS1DmSQ8DyQB7VbstxbqnqMIcRewdncCgsJFp7oUkGm1gwMqM870plO1orp dWvmhGIVrCawyAg85xmY2Ih+Mb5TPeb15c6nvqLwN/ddx83aOwE0kr+34z7HKKpuftyD ZtMf6dGmEFQHRADhg0LWVjqTB3Kq31ZTGNDdSmVWqTOtc41qaX0yTpQNrvyn/0M1Svi7 7mGAstC3meKR15XhyxMcxaXPvKsUmTgIkYAliSW4hS86plUcMjp5A3IzzlIfYIniVdmB tzfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757356361; x=1757961161; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xNbFnGUuoG5CdZvwYaaxuhVA+Hu8fA8rCJlK4ytNXcw=; b=nohjdzKnokqFARZlb7UpOQzB56GDiaS8wVy1W52TBXFJPYFPrJXhRrHkcKnrctN8vp eLRLzPOQaJY8ET77FmL3YLw5WzYAvclmA/E07JQmGy528lhXUHIA/QcpiNvTjVwDtsfq VygubxfWVHHwbG6YzqnRGZA+AOQF1J05eDvngkWZjPWFh22zoFqwlPbGyQbi3pclIUHi m8EvG5xW7lbt+x7H6OFHrgGk37sZ7DY9NRI72YT29zbsvpvDll/EO6vIHney2CTz7Hoe fbZOLx6woqY+7NrqRG3ekTqCYKdCh7DHNs0qhH4ESu8GrhMVXFwqFV3lmRk2kj2enpox q8SQ== X-Forwarded-Encrypted: i=1; AJvYcCUjXINNnNEgD9SrPNaJyKHy7xTFzlRXHRP/cAW71bVrPALOiS66BGHtVTzNnNLaCdzNvj/1hBTBck+T1ldT@lists.postgresql.org X-Gm-Message-State: AOJu0Yxi++uOdERuJ1KaxeE4O+PLKi2bFMDrrA7QdK9FbnOMj3Q7EVhh rnLa37jF3VtqsQV7lhfugclu9ODizco/GA6NR3oZ/H5072Z/8Lc9oZru83aYza2DKSjFufxg9mX vviRzhv+fnN3MawMyJIAGGE9RcroYWCY= X-Gm-Gg: ASbGncv4r8bNT7Vqv+uwjRhY6/k9Hfi5hx4LmjrBIuvcdIeurQMgi5XtLuqc3Qa8DCY GOSR3Ym4NC43cIjeNYs6kwRWZv2hBBFdsvamDVp/RwHnChnjCaOP1fDgl2lkUeFcOxhJRfMcIIW arbCPfE3K2A0C/y7TUSE0ioXa14F3yeMKchN+P7cIJISlafOX90UFH4WeyL9XycdWmkhh8RGUGX 1jJpdEexITppII6cBmpWPacylUKe1SzJ1l0tcI= X-Google-Smtp-Source: AGHT+IHTDC/FqA2PtDArSTrcsTgwhiGiJvN+9YFHQn80n+NK7CLxGg9/zRLc4KROBJjUqsqJqfSlB4UMyVzM9GjvF4o= X-Received: by 2002:a05:6402:5207:b0:61c:7f7e:1e with SMTP id 4fb4d7f45d1cf-6237710976fmr8441233a12.22.1757356361172; Mon, 08 Sep 2025 11:32:41 -0700 (PDT) MIME-Version: 1.0 References: <87DD95AA-274F-4F4F-BAD9-7738E5B1F905@yandex-team.ru> In-Reply-To: From: Melanie Plageman Date: Mon, 8 Sep 2025 14:32:29 -0400 X-Gm-Features: AS18NWDu072ThsyF_ANLd-CmteTxAvTxonglKRqcWDife7dIZ1BdzkMk0fFerus Message-ID: Subject: Re: eliminate xl_heap_visible to reduce WAL (and eventually set VM on-access) To: Robert Haas Cc: Andres Freund , Kirill Reshke , Andrey Borodin , PostgreSQL Hackers , Heikki Linnakangas Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Sep 8, 2025 at 12:41=E2=80=AFPM Robert Haas = wrote: > > On Fri, Sep 5, 2025 at 6:20=E2=80=AFPM Melanie Plageman > wrote: > > yikes, you are right about the "reason" member. Attached 0002 removes > > it, and I'll go ahead and fix it in the back branches too. > > I think changing this in the back-branches is a super-bad idea. If you > want, you can add a comment in the back-branches saying "oops, we > shipped a field that isn't used for anything", but changing the struct > definition is very likely to make 0 people happy and >0 people > unhappy. On the other hand, changing this in master is a good idea and > you should go ahead and do that before this creates any more > confusion. Yes, that makes 100% sense. It should have occurred to me. I've pushed the commit to master. I didn't put an updated set of patches here in case someone was already reviewing them, as nothing else has changed. - Melanie