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 1w7z1w-00066T-17 for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 17:07:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w7z1v-001Z3M-0L for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Apr 2026 17:06:59 +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 1w7z1u-001Z3B-1i for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 17:06:59 +0000 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w7z1s-000000002hs-1u7m for pgsql-hackers@lists.postgresql.org; Wed, 01 Apr 2026 17:06:58 +0000 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-43b949bf4easo839985f8f.0 for ; Wed, 01 Apr 2026 10:06:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1775063215; x=1775668015; darn=lists.postgresql.org; h=message-id:date:mime-version:comments:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=NExjPumq67mtDSYj6ogNLnNMPXQWp3Zya6Syyvmp/PI=; b=Scon8vICRcMOEkmu0ESd4M9lKIxUBEcwhAMScv7MoCypHdjK2gdjXRdETYnUAFl6C3 MC1ZwK3eVKeo4dQKaDqkxhleNTMhGXjW/gwNiVh3C3esnwu4Vg4szR5sroYUj7udPUna ZVV4Jwx+N8vSppLWfS+WjrcqXlKVX8tnMBKBs7TBIY9sfAjeYPOdz+ce2Mi/ciWcp459 SyjGYXbGSTd1KdloPefDkZFx2pV5qLGsNEPcPgvpfpJ0ZDBbSKmuO1aP3NWYI54VryHT 5+cK5ebpFRhzrwTdgGhx4q1L1A0VsHmD6sMy4S476kZiOeRXsDoUtuzG6uZWZKju02RW aorA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775063215; x=1775668015; h=message-id:date:mime-version:comments:references:in-reply-to :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=NExjPumq67mtDSYj6ogNLnNMPXQWp3Zya6Syyvmp/PI=; b=mv2tmK9GHmCMtAE2vUyf3flF//sG/em+wN9qgcD5QFUtqlRff36ERnOo0vL5Tb3VCh x1iihZ6MtbJX/1prM9ORGgleacnnX4MlDFcGUlOA/iRd9360ARdXrJYRZaysa7mM0Ed+ IWLBl4X2iyVJJuOz4iw+4ynVB4o6l/vm5u8ziqSK8ES5P+x1Nh8VsczRYj+wu67wHe9r OaBBgNNmRitYYlnMkR1pnsKaH3ZTQCSyMwTtcWHVDY9YF2uwji9Hf58QHKHt8graVqER KvsIaHd6zS6+sT8DXJg+gL4GRxQ1AkCDYqXNIL6Tlj4VvSee2nh51pRSRie2qLeS0y9H /haw== X-Forwarded-Encrypted: i=1; AJvYcCVFLk363zekXLVtLL7BRfCveARexinxoWoTU4k7NUNJu+0mSKmu/+kq3GCUHGf14+f+bDxM88zj5BzKjvnx@lists.postgresql.org X-Gm-Message-State: AOJu0YzvOtWJ5QYHL/o8C71xme6SFxxzkfabVbRiklgtn1/NPlTvHr9m mqhx0WNeB0tvg8iAd2njThQ/2X6flAKCJ42BVKzZWWEptC3cdHKPlDdIw1flRxS5p2E= X-Gm-Gg: ATEYQzwkBNoLm+Lq+0HeXHkptW2jMCRG/KsSjU+Zk0vfmccNIVoUmN9G0BjD/JGr131 bjGoJfwkMNtLbY0abYux8yUKeG1SMLAbafJjpWWcslWjnhJZshLphiCEeP8dumPJtDL5hb8Za6V Eas7ZqtEeEWH68KOReM1QPOvxUqeaaHgtFTD+A6HOCOXl+n2JlBTuCcAnV3s1Q+oqG8WRt6jqMp s3MFfpks/PCIHOaje2eagdS7R3uJvX7u/zrISN99yRS/E/QtpD+1vbBzmuFM3175jmwPK8H+U71 s5BY01xgKH2mnyM4614q5cSDY5YFlXFjys8fTlhWHEwT5nbeCoU4iWYfZmtxG2XWr81w6sco0tM Cwy2yJsd01mm3VHdziB0cUPNnakwyymw5omkZzf7aB7EPCWEs7ErShbrSDGxWAx0/asEtnM0aPJ jba+BgGHVoi4201u4g6vYfaWyKhTCPbB/7kckg X-Received: by 2002:a05:600c:5252:b0:485:3989:b3e4 with SMTP id 5b1f17b1804b1-4888358a459mr73314225e9.6.1775063214895; Wed, 01 Apr 2026 10:06:54 -0700 (PDT) Received: from localhost (109-81-168-142.rct.o2.cz. [109.81.168.142]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4887c8bc9e7sm59535325e9.26.2026.04.01.10.06.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2026 10:06:54 -0700 (PDT) From: Antonin Houska To: Srinath Reddy Sadipiralla cc: Alvaro Herrera , Amit Kapila , Mihail Nikalayeu , Matthias van de Meent , Pg Hackers , Robert Treat Subject: Re: Adding REPACK [concurrently] In-reply-to: References: <202603311523.iqhng5ljkzpq@alvherre.pgsql> <202603311934.ftqj7ytm362y@alvherre.pgsql> Comments: In-reply-to Srinath Reddy Sadipiralla message dated "Wed, 01 Apr 2026 20:25:54 +0530." X-Mailer: MH-E 8.6+git; nmh 1.8; GNU Emacs 28.3 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Date: Wed, 01 Apr 2026 19:06:53 +0200 Message-ID: <224730.1775063213@localhost> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --=-=-= Content-Type: text/plain Srinath Reddy Sadipiralla wrote: > i was fuzz testing v48 , and found a crash when REPACK (concurrently) itself errors out, > 1) while running > > create table test(id int); > REPACK (concurrently) test; > > TBH i didn't knew this, sometimes it's better to not know "rules" ;) > [NOTE: maybe we should add that we can't run > REPACK (concurrently) on table without identity index or primary key into repack.sgml] > > ERROR: cannot process relation "test" > 2026-04-01 19:06:31.211 IST [2495575] HINT: Relation "test" has no identity index. > 2026-04-01 19:06:31.211 IST [2495575] STATEMENT: repack (concurrently) test; > TRAP: failed Assert("proc->statusFlags == ProcGlobal->statusFlags[proc->pgxactoff]"), File: "procarray.c", Line: 719, PID: 2495575 > Here's the diff to solve this crash. Thanks. Attached here is v48-0006 fixed. -- Antonin Houska Web: https://www.cybertec-postgresql.com --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=nocfbot.Error-out-any-process-that-would-block-at-REPACK.patch