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 1nqCX6-0007KR-8E for pgsql-hackers@arkaria.postgresql.org; Sun, 15 May 2022 11:35:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nqCX5-00011L-0U for pgsql-hackers@arkaria.postgresql.org; Sun, 15 May 2022 11:35:31 +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 1nqCX4-00011C-Nt for pgsql-hackers@lists.postgresql.org; Sun, 15 May 2022 11:35:30 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nqCWx-0004VP-TF for pgsql-hackers@lists.postgresql.org; Sun, 15 May 2022 11:35:29 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id B5D5B3200302; Sun, 15 May 2022 07:35:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 15 May 2022 07:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version: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=1652614522; x=1652700922; bh=JOGdT/G7oe0nG8t/dMo0FpIbFfix l1XIK5gA9TcmPkM=; b=EMc7xrE1faKt0Iwf9txgUQNoqmyn9zTT9YeOynSrFioZ TbPLbI3o+69kUw4MZduZgnei9+t2iMj26onZD6vPCKnmnomfpbkWWZmiZCFKT5/g JS2txkRJVYIWfEwYZA84k8bznnxolcgof8jlaqT73r/YRmInfg/e2Hb8zA6/AFNJ 6N7XA+VAhiwUIK4bl9iSN5swKsuPSRIE6BqIRQMBCV5O9dV/VfwzS1GfeDNGc+jl gqb3lJwfm1WlVCQgrT7xNTmzwoTu+B99eGyre3klTuEi/Z3GU0zsoPCXagcQ765T 4QHWd0y2pFlI+Bmx/FcvDc65yl2Ia5tPFilfZeFF9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrheefgdegvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvvefukfggtggugfgjsehtkeertddttdejnecuhfhrohhmpeetlhhvrghr ohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhgqe enucggtffrrghtthgvrhhnpedvkedtffduffdtffffheffhfejjefhgfeiueeukeejkeff gfdufffhudffffeuveenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhh vghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 May 2022 07:35:21 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 909FA2A6B50; Sun, 15 May 2022 13:35:16 +0200 (CEST) Date: Sun, 15 May 2022 13:35:16 +0200 From: Alvaro Herrera To: Amit Kapila Cc: Pg Hackers Subject: Re: list of TransactionIds Message-ID: <202205151135.tdtcsblw3g63@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-May-14, Amit Kapila wrote: > On Sat, May 14, 2022 at 1:57 AM Alvaro Herrera wrote: > > > > We didn't have any use of TransactionId as members of List, until > > RelationSyncEntry->streamed_txns was introduced (464824323e57, pg14). > > It's currently implemented as a list of int. This is not wrong at > > present, but it may soon be, and I'm sure it rubs some people the wrong > > way. > > > > But is the rubbing way wrong enough to add support for TransactionId in > > pg_list.h, including, say, T_XidList? > > +1. I don't know if we have a need for this at other places but I feel > it is a good idea to make its current use better. I hesitate to add this the day just before beta. This is already in pg14, so maybe it's not a big deal if pg15 remains the same for the time being. Or we can change it for beta2. Or we could just punt until pg16. Any preferences? (Adding this to pg14 seems out of the question. It's probably okay ABI-wise to add a new node tag at the end of the list, but I'm not sure it's warranted.) -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "No deja de ser humillante para una persona de ingenio saber que no hay tonto que no le pueda enseñar algo." (Jean B. Say)