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.96) (envelope-from ) id 1wgn29-006OxT-13 for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Jul 2026 17:23:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wgn28-0024jO-0G for pgsql-bugs@arkaria.postgresql.org; Mon, 06 Jul 2026 17:23:04 +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.96) (envelope-from ) id 1wgn27-0024jG-2h for pgsql-bugs@lists.postgresql.org; Mon, 06 Jul 2026 17:23:03 +0000 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wgn26-00000001sfm-0pct for pgsql-bugs@lists.postgresql.org; Mon, 06 Jul 2026 17:23:02 +0000 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-c12614b81c9so572295866b.3 for ; Mon, 06 Jul 2026 10:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783358581; cv=none; d=google.com; s=arc-20260327; b=Vm53CwjsHcQ/7NKMgc65qMJ4IJ9KqqfIAcTYPnO5Vvoa6Np23+xfSxHsiF/3jqQV+C QQvKDcoPE5XYSweF6KvuQlzSPgUsixw11+6LUPYJq/2Rbs4x75CrtvAXUBPxLJERfjRD +Zp2bcx8xop4xY8FEWJAqvAwL8VMsRg0YcbDTidlB9NaMuGIdCaGLrOve/4nP7HMRcw6 LAE5HRMxnYLdOzt2/PtIkB3Q6zJgjWI3x1IP8u+k5EykZvqxo9xmv/4dIMpJjapxK0Pr UzF7wBtMaMx8Dv1P/C3unZCFhgjzY0fMKMoyeAi+wLVnXnf1aCDQmBuKBGnXYnpZLiBn A2Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=bWksuwQTtnci+I+GGyS6aonF258F7rJVk2hrFC4wVJE=; fh=Cns1gPqSLftZAnOmEitX93MBUiXSWZNh+J5Ntt10d5c=; b=XEy8qHvoy22Hi7/ks8AUUnlBZM5OnkBc7PY2wz3AACHj64LnB+nHQRD7vvjxk0No+m beMYX1V5maxMRsZHxIn1Ss82DK+ep+06w6bi7c6/YIEFzJlHqyIxYxOZOyEf2Dawis/a +oDBHiciSCZQ05s7705nfF6KVmDL01rqQC6HHO1tojgq6pAGdRkeiiq5I/U80Fiudz0z DZGBf9ijXR3c1u01gnN6lh+Uc1aa0csbpNmTS6vJD4ASXwvbMNlhf+1PGWiWjaoMxi2z UTLHbp87wcWKRZkseqwg/NM1l2EyGU7a7lNdqqgiBax49L7+95tOHmf8miIniZRZI1SS 8qzA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783358581; x=1783963381; 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=bWksuwQTtnci+I+GGyS6aonF258F7rJVk2hrFC4wVJE=; b=rwV73Qw8CG0z4YWj+4GUaRR+eC4E2Fog/2Npc2JVry6SgXivK+jYaufZilatdG6UL6 TBuG/NlZwTE1dvRZtx9OeU4SUZuU2eu7Hs1mvwJrq25lrI5/Xc31G/iq07LcQK/iU2Gv 56eB+WgBOmEzOV9FxzGKE6TrJGTOif5/z/iQxHeA985JOuxN8SkmK+G6grbYtEWnYVhd V8nKeDHHWxPtz/tcmmQNAhPE+yGqq9YhIFDMyQl/xwkTbeJ9CzIQS0WieFXnoe+zQNno 3pdJRRo8k6Gb9JXf/Qi3VS8UyssuAAHabUE3bqlYB10uh6B/MuWT5RetpPh6W51IC4Od Fdsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783358581; x=1783963381; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=bWksuwQTtnci+I+GGyS6aonF258F7rJVk2hrFC4wVJE=; b=P4Zkt29Lf+CnpPQLQ+5QfxqFuj7DqZlHRcS0gjf9l5+HKLGW1qob1Fbot87BP7yR2L z8p4l2pGjlonHW+edmJDsFaIOv9aIHsqzvr8PgvWBzIAgLmAclGIww+IuAkesMGGqEwV H4gJhk91T9r8FPh8+MU2jOgRobLv1jWEIZDUT2F2La5wImpEqpmUa0xSDPUe47LbsKdE IlQzuVt38/hyo1pvWUr8bRvw21EQjpljcPdpl59pRroQGeSz6vN4gd1b/HktZapSuVQH 8spfan27cfRrwvoycMT4pSPsxRksYG6eI1ac1bjyJMf8+eOKeBUJBQDti/q9s1MIDaOD 7RrQ== X-Forwarded-Encrypted: i=1; AHgh+RreXn37cayh1Db/bt8mRDaZQmDeGU7taaqpoEs6DIRE+XlDv1Vks+it+V22IBy4+/+ZtIk8GLKbffZr@lists.postgresql.org X-Gm-Message-State: AOJu0YwxkWADyVw3613augUPlgCJ0Hy5mj5gQ+SAcol12AXYDlAT+Kc7 /F3g7V9T7dOQPslmMxJa9JnPD0yzpUUHH4gus5FxFEoAh/3sYuF/+LmP+0Hx1ZXFpBjlO+2X5Jd po48UvEF2vf55Kjvi9C4U2Uz9Azto7ak= X-Gm-Gg: AfdE7cmLF7do3RhcgdjwpNL+FBDBC3woHvyE4LelrUvTGW/S5mWtCx85ulffsbgalbf 2NT0x9eG+gbjn5bDiUaTTGp42LZliXyITAGL2WwZQWe3qrJuvP0HjEIzNMjhsqKRNFRH+eeOQ0B R8JM9kziDOBqYiSiOfqwMpeVUL4qeBkMpszZWcwbOFgsbxICG4/o5QuPz86F6myK0lFZbenhu+V zkSqdpvyfxQHjyNj+2Fhsg6JqKU4lMr0lZpQRbVljSSnCO+WGVIVvWiw4yMsxtbE//WSlVH/4eT GGu45jzIFkTBHnDK4Xbs0DMUx40T X-Received: by 2002:a17:907:e1c5:20b0:bfe:7147:2ebb with SMTP id a640c23a62f3a-c15a68308c0mr65012166b.24.1783358580504; Mon, 06 Jul 2026 10:23:00 -0700 (PDT) MIME-Version: 1.0 References: <18876-0d0b53bad5a1f4c1@postgresql.org> <20260611132910.50412ffa57bbc8e70bad8fc3@sraoss.co.jp> In-Reply-To: From: Robert Haas Date: Mon, 6 Jul 2026 13:22:48 -0400 X-Gm-Features: AVVi8CeLHbvQfwfWI_EV0qhqHxPpsrs8xwnOKd2PFt6UUOeUEVmX7OeuzXljhFg Message-ID: Subject: Re: BUG #18876: HINT messages for mxid wrap-around say "drop stale slots", but that may not be appropriate To: Fujii Masao Cc: TAKATSUKA Haruka , pgsql-bugs@lists.postgresql.org 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 Thu, Jul 2, 2026 at 10:26=E2=80=AFPM Fujii Masao = wrote: > I've pushed the patch. Thanks! Hi, I'm a bit concerned about this patch, specifically this part: + Unlike transaction ID wraparound, replication slots do not + directly hold back multixact cleanup. Dropping stale replication + slots is therefore not usually relevant to resolving multixact ID + wraparound problems. The problem with the word "usually" here is that it leaves room for replication slots to be relevant in some corner case that isn't described, while asserting without explanation that they most often won't matter. I feel like that leaves users and DBAs in a very awkward position. The way it seems to me, either holding back the XID threshold can indirectly hold back the MXID threshold, or it can't. If it can, then the documentation before this patch was correct, and this shouldn't have been committed, and if it can't, then we don't need the word "usually" here. Now maybe that's a bit too simplistic. I'd be OK with a statement involving "usually" if it went on to explain convincingly why it doesn't normally happen and why it sometimes can under extraordinary circumstances. But without that, I feel this is making things less clear rather than more clear. --=20 Robert Haas EDB: http://www.enterprisedb.com