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 1r43km-007C41-JR for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Nov 2023 18:39:44 +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 1r43kk-00F3Ds-Qy for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Nov 2023 18:39:42 +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 1r43kk-00F3Di-1N for pgsql-hackers@lists.postgresql.org; Fri, 17 Nov 2023 18:39:42 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r43kf-0063R9-W9 for pgsql-hackers@lists.postgresql.org; Fri, 17 Nov 2023 18:39:40 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E58DD5C0174; Fri, 17 Nov 2023 13:39:36 -0500 (EST) Received: from imap49 ([10.202.2.99]) by compute2.internal (MEProxy); Fri, 17 Nov 2023 13:39:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eulerto.com; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1700246376; x=1700332776; bh=F2 qTDcXx19J0DiIFyezE9EJbT51f0YmYTVur3SL0Xfc=; b=I0i4hJIQzdGi/NciUc hFnm/hh9NFQmBTGGRVr6Uy25qydn6ucCOrqJyrd6pq9x3hB33MXQj8BJgz5pRPeK 9GQ/ZYHZ4RrDINFi4iyS246Boeji7McL+8qPtvomYVacm1AIxRXkG4m5iwC+XH4z 4BJq4d3JQfqcxGEPLJ73IhVA7rY6FN8a+Wtu3n5nBjANZvqIjI/IwInXCtUjxYmf duuDvl+Ibui2r/bxceXZX96BQcBdHvhJFSfXF8661ygd1XDXXzbJS9bIC22HO80L q2iQjh3zwD0TqY4XnSoWZ4aKEvReyocxxetOpfimgZgjeb2VATIlkApEqgxrQ3if ndjg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1700246376; x=1700332776; bh=F2qTDcXx19J0D iIFyezE9EJbT51f0YmYTVur3SL0Xfc=; b=st3GWtkBAnhrBTifqhLlXwmyMbfup kJBTEQzhSDy77WIxcfyAQQ0zf4yNDpHF9kmrTWTzF3KkZ8tZEx4z/Dvh0XnT6KdD twPl3PV0JGhNe+OzpcgrrqlrzxXJ0wWcoYTWQue0QWdw/nRHPRnRMMIV1jTqvkcI 5kLm/nYJDL3Un/6ZXKbVY3g5EL0WVeVh/wD+bbK9xeREDWwir6kJM/fXfMH5oKXH G6SGpd5USrZZ0+donKoXCbA0QIcxup0Jba8BG8RXsmm58rs+fpQG0rEFsYhHJ5R8 FbA67O+b0LH6hgTsdlK6hq9FDqko3Aw3DFzxAo9ZcZbbEeIcu39cnMr1w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudegtddguddugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesrgdtreerreertdenucfhrhhomhepfdfg uhhlvghrucfvrghvvghirhgrfdcuoegvuhhlvghrsegvuhhlvghrthhordgtohhmqeenuc ggtffrrghtthgvrhhnpefgffejvdeivdekvdeivdetudeikeduieevtdfhhfduvdetgeel teeiffekgefhvdenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepvghulhgvrhes vghulhgvrhhtohdrtghomh X-ME-Proxy: Feedback-ID: i0c21471d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2115015A0091; Fri, 17 Nov 2023 13:39:36 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1108-g3a29173c6d-fm-20231031.005-g3a29173c MIME-Version: 1.0 Message-Id: In-Reply-To: References: <20180622.172132.230342845.horiguchi.kyotaro@lab.ntt.co.jp> Date: Fri, 17 Nov 2023 15:39:14 -0300 From: "Euler Taveira" To: "Bruce Momjian" , "Kyotaro HORIGUCHI" Cc: pgsql-hackers@lists.postgresql.org Subject: Re: Lifetime of commit timestamps Content-Type: multipart/alternative; boundary=44e355d3653143a8a9a1a752cd0b7994 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --44e355d3653143a8a9a1a752cd0b7994 Content-Type: text/plain On Mon, Nov 13, 2023, at 9:47 PM, Bruce Momjian wrote: > Is this documentation change still relevant? I think so. AFAICS nothing changed. Unless you read the source code, it is not clear that VACUUM removes the information for frozen tuples. They are decoupled (but executed in the same routine for convenience), hence, someone can ask why the pg_xact_commit_timestamp() returns NULL for a transaction that was executed *after* you enable track_commit_timestamp. The answer is the design used a existing mechanism to clean up data in order to avoid creating a new one. -- Euler Taveira EDB https://www.enterprisedb.com/ --44e355d3653143a8a9a1a752cd0b7994 Content-Type: text/html Content-Transfer-Encoding: quoted-printable
On Mon, Nov 13,= 2023, at 9:47 PM, Bruce Momjian wrote:
Is this documentation change still relevant= ?

I think so. AFAICS nothing c= hanged. Unless you read the source code, it is not
clear t= hat VACUUM removes the information for frozen tuples. They are decoupled=
(but executed in the same routine for convenience), hence= , someone can ask why
the pg_xact_commit_timestamp() retur= ns NULL for a transaction that was executed
*after* you en= able track_commit_timestamp. The answer is the design used a
existing mechanism to clean up data in order to avoid creating a new = one.


--
Euler Taveira=

--44e355d3653143a8a9a1a752cd0b7994--