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 1vP2kK-001cGc-1l for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Nov 2025 17:59:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vP2kJ-00CiAL-0K for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Nov 2025 17:59:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vP2kI-00CiAD-2Z for pgsql-hackers@lists.postgresql.org; Fri, 28 Nov 2025 17:59:03 +0000 Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vP2kG-0021mN-2y for pgsql-hackers@postgresql.org; Fri, 28 Nov 2025 17:59:02 +0000 Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-4ee147baf7bso628741cf.1 for ; Fri, 28 Nov 2025 09:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764352739; x=1764957539; darn=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=3wzsKlCho1c98WHrxdWVuU74Nn/76rabelwF7/umXyo=; b=IXlUjU1vkIzOuV3LDGjy9CXN+AsPUZy6jkBZ/aLnLWW69FgiOX6bSVPLJNI7lxf8rr haEtEp0nGxxknEQgL9KsGkD31Rg4E2eDMyBDIC8VV4Xof7UjvwfhKGqe3k3I6SaxDqwL /KJ3OcSSjf1xBvTnrSXdoNcjwJD7sq07vlYkjkgIlGOggGU2NSNgxt6ai/sZDLV3Unwe AaPf2x+7HnmgaLTgTSBc3twn1qqBpN/Uipj/pFwzx2sPYGBDeiFw33SQ7z++XdSzAV39 NtzlZd+uGafND9aX7OpkgCAy/niHZKvB9ucDBsi+d37XQlcKUQGQUiYESnBvygQ3KVvI dovw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764352739; x=1764957539; 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=3wzsKlCho1c98WHrxdWVuU74Nn/76rabelwF7/umXyo=; b=tOVs5O1SnlOs0XPoMCmNakMvAb77BpzOXiEvKHNJPDsRuxhOEdamvxru4/dRWevnUE 6CavvLd1wVaMl9wEWIHDHDXVqIVReXyCO3PjRjvu/Jtq/tvAyRESut9UKQHIeGvNAC06 Ym2PMkW7t27qDWVS9sp8uV2Fw+6tDhPkbGGI+YPlnKxuvxEcftafrOddzEXckrcgTR3+ gqjJUO1QmPzwIe5fldMF+biZ/mZmv9V3JJ6jlYF8pYdu6b40C5Q9JlAnGt2hMEGMjyR7 oob8SEI9HvHRjlPjlLhs1CW+KC+DgQ73CXkksvJ//TvlJtQN/OhOJprMqNWzqPfAKxHG 4W5w== X-Forwarded-Encrypted: i=1; AJvYcCV9W1eEyTdi4bdKhAfE2BSyjS/f324vx8XNicatUNPIH1sECcSsp8Oue//fY1FPo4aBKLSOJmEoWmG4xxSI@postgresql.org X-Gm-Message-State: AOJu0Ywe2TIJyUyFZ64geRGjjBVpGrQWWUgZkASY41AAU37PIYaQ03Ad F1L6V5pireunpP7x4MJrn4AIycs2aGyTRZ65Yd2rb3nWA9su8qUT9RwmwSAilssYfVWhuczBKgs Xe+N/ah1bLjgyFtwJvOwz53tq3Dt6kurnGyr8R1hq X-Gm-Gg: ASbGncvv87swSunBlOalQCkyJpcQB+0+KpLQekLXwxlJZRWaGcKuYvemulaM/80XsTV Ri2ikSovA/un34Hso9nz5Wp4sza5WzFRJWYvRuTyS119nECE4yMxAASlNo5FV5rCb/VjZ+LPbPm CvjYeXnmo40r/V054s4+muxtJQQvx3LLpF2jwRg62H0C3J5p25oPHKkfbf/sILIBrQJMVVDtSoC s14+HIOLc9bHrKOvka2UcjepK9+LNYin74a76gBMW7bSPjWZ02Szd3lfbxIU+Fr6eNrJoYuo9Nx FZe9vSxAHNabtzjMfBk7krZTMIoO X-Google-Smtp-Source: AGHT+IERYPYS2kLxUrPJ2oglhK2qH2aUzx/nHEJK7aPxmaQNtbHCio6dR//S/L/gOD1gqgZ70W/5BAoOS8nTB56NLn4= X-Received: by 2002:ac8:40d7:0:b0:4ed:5f45:447c with SMTP id d75a77b69052e-4efd0c5cce0mr7195551cf.6.1764352738831; Fri, 28 Nov 2025 09:58:58 -0800 (PST) MIME-Version: 1.0 References: <202505181556.3n6oiowvntyr@alvherre.pgsql> In-Reply-To: From: Hannu Krosing Date: Fri, 28 Nov 2025 18:58:46 +0100 X-Gm-Features: AWmQ_bngSnegx4Hig7pe2XV1I3FfbfJi9xqItXsu0tS5dDrppN-kGXEUoyyt0ns Message-ID: Subject: Re: Revisiting {CREATE INDEX, REINDEX} CONCURRENTLY improvements To: Matthias van de Meent Cc: Mihail Nikalayeu , Sergey Sargsyan , =?UTF-8?Q?=C3=81lvaro_Herrera?= , Andres Freund , Michael Paquier , PostgreSQL Hackers , Andrey Borodin , Melanie Plageman 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 Fri, Nov 28, 2025 at 5:58=E2=80=AFPM Matthias van de Meent wrote: > ... > I'm a bit worried, though, that LR may lose updates due to commit > order differences between WAL and PGPROC. I don't know how that's > handled in logical decoding, and can't find much literature about it > in the repo either. Now the reference to logical decoding made me think that maybe to real fix for CIC would be to leverage logical decoding for the 2nd pass of CIC and not wore about in-page visibilities at all. --- Hannu