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 1pUPJP-00063b-BQ for pgsql-docs@arkaria.postgresql.org; Tue, 21 Feb 2023 09:51: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 1pUPJM-0004I4-JW for pgsql-docs@arkaria.postgresql.org; Tue, 21 Feb 2023 09:51:48 +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 1pUPJM-0004Hv-Bh for pgsql-docs@lists.postgresql.org; Tue, 21 Feb 2023 09:51:48 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pUPJI-0006wl-3Y for pgsql-docs@lists.postgresql.org; Tue, 21 Feb 2023 09:51:47 +0000 Received: by mail-wr1-x42b.google.com with SMTP id l1so3454094wry.10 for ; Tue, 21 Feb 2023 01:51:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=MOsLaANDsI6fHmn5wliGK2jge0ots8KMiLfWeNeZ+fo=; b=Yo8AKKFfO7hjbJixS/DRmaX1Sgr6ng9QEDeM89eL6u2bS2QUO5/Um+CTqM8gs8Wacc 2Na0RFfV3+K2wFF2J58zatEeAosJqA2EkxuiVIqoKO9pEA9P4oewJj6j1nr50+V1HYnk GIcqSigXZ/jySHa6I+4KIJo1nk0qCRXx6KIipOOsd13N/rvDC5FAqZmvmEeyeQY7b84L LXi++NnM7KAF9sYFk8GUi0fQDARdOdVMHBqbNhCfZFgoC9iZRx6YJV//9bUYp635OhDa dbQeBPeUypspmpCRPZcc8PKWzEZFf9esaVHIrxeU4JCYoz3WWGFsOBx8XcVMVO+8FSfj VVAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=MOsLaANDsI6fHmn5wliGK2jge0ots8KMiLfWeNeZ+fo=; b=m3vncE7L28NgYqkZrC37dt2ePCdj6zw5qaiKH651K+tQ2AoqsKkXHY9Ztwwn769jPM Ol6HEm0UmVSdQUy6W7SVX2Wi4jTW/T2fCcGzkbBek/BaZNLKwNfWv46POKOcq8pJJVCC 93nUeEbonkttY+FZhDSh6rr2NWE154s5ditNtnrjtYc8dfh4UCU+F3j1SU+HkRuE3iQ/ eO9XfeXQwOO1WKz5MAcW/k0zg38NURvccyBpNg1TjxsquCOQaBDVnEE8MO0lse/XWVly ooPQTbjIybCH8soba+YIHIevOTKGZK7cVolTNCgASPHpAf2RER70u/2t3J+JCBRS50sZ mKJg== X-Gm-Message-State: AO0yUKW7/kt7ztBbe5iksKBz/qRB9fqpAxeMWBcuJ6WCjlQNOqb/T7yP fJ6gUayUWQ8a2yJ0bwB/LrWgQHTcN7g9xquaxqI= X-Google-Smtp-Source: AK7set9xBnlDkFvcPMP38ITmwsWtx0HVO9vl0FNQb+i+U/HxI0wN7GsI4iKPtpOpnAHSIdo00gghbA== X-Received: by 2002:adf:e242:0:b0:2bf:c0e4:1bc5 with SMTP id bl2-20020adfe242000000b002bfc0e41bc5mr4046856wrb.56.1676973103044; Tue, 21 Feb 2023 01:51:43 -0800 (PST) Received: from dynamic-pd01.res.v6.highway.a1.net ([2001:871:5e:539:1b2c:c52a:475d:310c]) by smtp.gmail.com with ESMTPSA id a18-20020adffad2000000b002c56013c07fsm3293463wrs.109.2023.02.21.01.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Feb 2023 01:51:42 -0800 (PST) Message-ID: <56d92102952fff2283f05b8d7712e34bad4647e4.camel@cybertec.at> Subject: Re: Transaction wraparound and read committed isolation level From: Laurenz Albe To: h@husseinnasser.com, pgsql-docs@lists.postgresql.org Date: Tue, 21 Feb 2023 10:51:42 +0100 In-Reply-To: <167677624368.647177.14087162303276367700@wrigleys.postgresql.org> References: <167677624368.647177.14087162303276367700@wrigleys.postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sun, 2023-02-19 at 03:10 +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: >=20 > Page: https://www.postgresql.org/docs/15/routine-vacuuming.html > Description: >=20 > hey guys >=20 > thanks for the work you do we really appreciate it.=20 >=20 > In the transaction wraparound section this statement is misleading and go= t > me really confused.=20 >=20 > =E2=80=9Ca row version with an insertion XID greater than the current tra= nsaction's > XID is =E2=80=9Cin the future=E2=80=9D and should not be visible to the c= urrent > transaction=E2=80=9C >=20 > If the current transaction isolation level is read committed it absolutel= y > can see rows committed by future transactions with higher XIDs. You are right, in combination with PlanQualEval you can. > Would be cool to add a note.=20 >=20 > this also bear the question that the wraparound isn=E2=80=99t really a pr= oblem with > default isolation level but more for higher levels such as repeatable rea= d > and such.=20 >=20 > please correct me if my understanding is incorrect. Wraparound can be a problem on all isolation levels. It has to do with transaction IDs and visibility. Yours, Laurenz Albe