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 1nKOpH-0005T3-4k for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Feb 2022 18:14:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nKOpF-0000F5-Vt for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Feb 2022 18:14:49 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nKOpF-0000Ep-Ma for pgsql-hackers@lists.postgresql.org; Wed, 16 Feb 2022 18:14:49 +0000 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nKOpC-00019S-Q0 for pgsql-hackers@lists.postgresql.org; Wed, 16 Feb 2022 18:14:48 +0000 Received: by mail-ed1-x531.google.com with SMTP id c6so2637030edk.12 for ; Wed, 16 Feb 2022 10:14:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bowt-ie.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pfr9SCqPqZEZq6Sd925YhT9FfzIkyPgp+xr8flofucs=; b=bO9VpY8qeBLVx0cbqgKm9ZI54Mnm8XNoJUTnRUtSBv1Ox0dskCylqHVR2d6j1PWo0C oR9YZPG5l6YPurvGMKJdWgjwed8dZfw2OuLBfsQ62RQTwm2bdATU5Kv0zk0TELJ7kOAT 0wnvtGq1YW83XPVCwMavZCUEmbkVnENDeMJM/75rmBySkb2etgsvcovHTlWWB0wAqFZl 2PwrYJChtLhPNQwo8BB/t8G17WiYgSUORfT9tsjHYO5Ftom1caisFwqcJXNQxcJ3feg+ Um6i2kV/dFCOCIYE6XpFgujLrTZ6uNHwqIaMF0/m7+XDEQf4Hmp7sJjnB6zjMKWby7o0 eHow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pfr9SCqPqZEZq6Sd925YhT9FfzIkyPgp+xr8flofucs=; b=PD0h9p4/UAGIPNaEYiXrl45Ra126oN7fbemimIcDZ522XonpheRnizXL0Wsmt9P91B Evk9qudxBBa2tJAhnwewTiI4F8mt2HNCRFeyiHR0B7AW2kpUHq4PzppDr5tWj+6fXIib +7u3rKnspWZWF9LXfKZyPGhOp82ajKcFqtkJ/8NfShDd7VAcsKNNApnk54HqQaOsiCSu s+aKiDwVzsEshY2yeJdPvKtmrAGptPPCD2eQra4uXXHwnyy8nwK8EKO3XQKpnn5WtX7/ wRLEtgEop1Jj9JGboJjDMEcL+Bb9GCYf5kB//EoRoZEFSnO8i2cO3QAZD2X9FY2ZTwoT v9eQ== X-Gm-Message-State: AOAM533g0X0cTXiano5NI3YL36Rmlkf/yiiUUrq/9PrPnQH6NdQv3nOQ YoDGK7RD9lZbqOn4aAn67LtDc9MUj9UMsfx0WvxdaQ== X-Google-Smtp-Source: ABdhPJwLiRK1eot/CsJJKaSkcHgnn4B8qlvhS/darBmspnpjlycgBhTLy6aqPQTCI3bKSGG/KD+39CI693okdpw5/CQ= X-Received: by 2002:a50:9e2e:0:b0:410:d1b6:4d2e with SMTP id z43-20020a509e2e000000b00410d1b64d2emr4315009ede.201.1645035285278; Wed, 16 Feb 2022 10:14:45 -0800 (PST) MIME-Version: 1.0 References: <20211210015616.o242b4xchhpglfcy@alap3.anarazel.de> <20220203215048.rmwjzixdzaetedxq@alap3.anarazel.de> In-Reply-To: From: Peter Geoghegan Date: Wed, 16 Feb 2022 10:14:19 -0800 Message-ID: Subject: Re: do only critical work during single-user vacuum? To: Robert Haas Cc: Masahiko Sawada , John Naylor , Andres Freund , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Feb 16, 2022 at 9:56 AM Robert Haas wrote: > +1. But I think we might want to try to write documentation around > this. We should explicitly tell people NOT to use single-user mode, > because that stupid message has been there for a long time and a lot > of people have probably internalized it by now. And we should also > tell them that they SHOULD check for prepared transactions, old > replication slots, etc. Absolutely -- couldn't agree more. Do you think it's worth targeting 14 here, or just HEAD? I'm pretty sure that some people believe that wraparound can cause actual data corruption, in part because of the way the docs present the information. The system won't do that, of course (precisely because of this xidStopLimit behavior). The docs make it all sound absolutely terrifying, which doesn't seem proportionate to me (at least not with this stuff in place, maybe not ever). -- Peter Geoghegan