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 1wAJuq-002GhT-3C for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 03:49:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAJup-004UOy-1D for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 03:49:19 +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 1wAJup-004UOo-0F for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 03:49:19 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAJun-000000019c3-3FYl for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 03:49:18 +0000 Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-3870778358aso49424521fa.1 for ; Tue, 07 Apr 2026 20:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775620156; cv=none; d=google.com; s=arc-20240605; b=DCqBWdZc3zfjFFAXW7BJYU/hCpoTEbw6ms9ebOfA1CmkKg3cFeU32Bg9PfJv9yI3tq h62e2sV2u6bS/w5cJLvGZiU7NbSH2PzJJk6r/Edm+oWzyqGqMZjEq8U0y4b1JKxO/d9V tx9tCyjACKC5Inj09ZbFZDJpiGcHUTKLETkKUTZihTSnv0n10kftVLcHFykQMxcyWw0x 5/r/okry2rtnLFqKxZMdqEyNphWDqmTaA2ahU8fVP+752b/gaBdhDcAtA7JduIWrjrFl MWDY3IDjl1njcYmbkHSISSTycPmWLObelnvJN1d8iXBe7b4sJzw6VVXkY2CDJKsPLe4m DNkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=mPZKiebFFEdFLryjqJq64MTNr9BUP2b6PgDvPXUxGzQ=; fh=6bUmbhSCeo0o/qIkYTBAG5/dj7ZRig20Oi1udXwC1Ek=; b=lzL7V2BnsNCY4Aajikt0l1l4rB0ODIXZonAK0cqtw8ECDgZKNymBNxVTAjFYAd56cH +UrGKoW/0NfySG8N9qX66+XAuVzKF9m2Rq0K4PRfGJcUSd3oJgpnDGsrJ1xcn0WbxQ/6 ZDCW1GR7H5AIwpDqfw59TuPnyYn2KMvbkeTxTwwnlViPXeeVBpENRKA+lUdFZOZSAag6 zcsZcT7qQn6oDVkPj8xx8gd/VFMA3meZecZrFSapKWl9cT+W4k/tT0C7/zH7sC85dntN 8ye2xnWY/O80B/f601QUNoDJtNsOep+j0UDT+xx98QJ7ew1h/sQa5FEz7zLl8nnF0Hxi chCA==; 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=1775620156; x=1776224956; 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=mPZKiebFFEdFLryjqJq64MTNr9BUP2b6PgDvPXUxGzQ=; b=NhiYRZzK8O/tlWpkXNkXDzY8kp0gtj0TwkjalMLUn+SI+bHMw9P64X88/LMS3OIbPH Fd+tMEvDZUqklBPpGNAAPJKff/N8i9ZYkvEctGANbUK9IuLLsHiAEoA2+SbTLMfGZfwW btied//pUNoAAaNp2M6DU9eHFcw1FQ4DtTus19KKOZJU7KoxnYX7qCbOo/M6tCrom7lD 0RVr0jU79MllR8OFgbjyfVHs0LLSZIpLTJXB85fk8Vk0CidLVZgo4yFonRVP/3vKzBGM 2pm6FHrpcAk8k3BeQzTNTXl+403g0jqKIAoursPMkG+hX2z3UxKQjNdQb7icRYZtUgIf NCHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775620156; x=1776224956; 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=mPZKiebFFEdFLryjqJq64MTNr9BUP2b6PgDvPXUxGzQ=; b=YHY8FXJHouT7/XC/K6rV/lWAMuZH8tlALrwPG8G1FWS5uKGtYdBLjYjQM95K4Sc8uA RoItLXWqn+sRhXmgbX2UYGQgDLK08neoppNP6CczSgLwdZCI9tGCvVJRBvHeDezjfX51 46gwK6UcUA0Gc0NUhIyTcv0IVW4octoZjk2TD0wqRQeKUJo7Ga3EvJr2iKwDyLgP7U1W rIiUv475h47njgsrOAXRhLS1rednxbT1HJmYXT/SMf0fNyBj8LSF8aB6763Ya4nbObyv 1xenoF68KcyRyCZKD+FOtp31n4/5OOP4uWn4CDF9CuWM9UoRUPJE17IqpkeSE2vDLxt3 r43g== X-Forwarded-Encrypted: i=1; AJvYcCVCHMMDKD2In5yoDVEVKIotgukOf6gUCLZPaZwzFcIlrziF/pv2jfMSToeE2IF0PZhEbWt35+GPt4bQo8eo@lists.postgresql.org X-Gm-Message-State: AOJu0Yyr+wCVvcaioLftPO+G+2OokzeuhnPznwnJLoky1RjgDX0kvh+y Y5O1MkAEiPvgRjat6dm3tpOWrO4r8p/qX5ooNAS1dDzDeRYEUL9Lf4NQzer/KEQf3kLNzUX03Pl XHgAf7zMaNVvxduSft9thBsJDOfYZX9w= X-Gm-Gg: AeBDietCEmAmIGmqCNQ1wsC7y6H0/h0tIHa0MBPyevA2hgjVnigeOnL65fUlibylfq1 2aKKfK/V8MSU8YldWx0TmWvq5Sdcr8G382xMB315Gm3LME2sAyvqYS3f5CZ4WMtDGrcffFKBiio sLhxtrq1H/JLY1bjUEjHQoIuLTYG+7bXJTHQQ33LV533zmiqsiUUtqTe3dS8m+f/l8i3PwiC9bs QP8t9E7izMLj/zA0jaCqQ1dFnXJ2tEvZp9hGrj1I/Qiv62wtjC4VBspWGZ9jCAXkMdUsN8ZCZdP E07S5YXiBTha2ySkQFaD1Tt3N14YgwisTalEs5fBG9tolHq85g== X-Received: by 2002:a2e:bc27:0:b0:38e:2183:224f with SMTP id 38308e7fff4ca-38e21832a4bmr7785731fa.12.1775620156060; Tue, 07 Apr 2026 20:49:16 -0700 (PDT) MIME-Version: 1.0 References: <202604062213.cgo352cdsgsm@alvherre.pgsql> <225003.1775571560@localhost> In-Reply-To: <225003.1775571560@localhost> From: Amit Kapila Date: Wed, 8 Apr 2026 09:19:04 +0530 X-Gm-Features: AQROBzD9JU5yL0mT4sWk9BEg-Lh1Aba2ptI63TnLcvfPVM0mGX_csNTFVKJn050 Message-ID: Subject: Re: Adding REPACK [concurrently] To: Antonin Houska Cc: "Hayato Kuroda (Fujitsu)" , Alvaro Herrera , Mihail Nikalayeu , Srinath Reddy Sadipiralla , Matthias van de Meent , Pg Hackers , Robert Treat 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 Tue, Apr 7, 2026 at 7:49=E2=80=AFPM Antonin Houska wrot= e: > > Hayato Kuroda (Fujitsu) wrote: > > > 02. SnapBuildProcessRunningXacts > > > > Per my understanding, the db_specic snapshot can be also serialized. Is= it > > possibility tha normal logical decoding system restores the snapshot an= d obtain > > the wrong result? > > I don't think that the database-specific xl_running_xacts WAL record affe= cts > what SnapBuildSerialize() writes to disk: the contents of builder->commit= ted, > etc. is updated by decoding COMMIT and ABORT records. > I think the point is that the other process say a walsender could restore such a snapshot making it take the wrong decision. --=20 With Regards, Amit Kapila.