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 1wSfZv-0000md-0k for pgsql-hackers@arkaria.postgresql.org; Thu, 28 May 2026 18:35:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wSfZt-0005Lz-1i for pgsql-hackers@arkaria.postgresql.org; Thu, 28 May 2026 18:35:33 +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 1wSfZt-0005Lq-0b for pgsql-hackers@lists.postgresql.org; Thu, 28 May 2026 18:35:33 +0000 Received: from fhigh-a8-smtp.messagingengine.com ([103.168.172.159]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wSfZr-000000000Io-0TOm for pgsql-hackers@lists.postgresql.org; Thu, 28 May 2026 18:35:32 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 3E755140010F; Thu, 28 May 2026 14:35:30 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Thu, 28 May 2026 14:35:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kurilemu.de; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to; s=fm2; t=1779993330; x= 1780079730; bh=HMJbL4gB8Y150GCLu/JJR2duf+kOOj8E8jOsqNeEC6Y=; b=I +YwUrZFixlGMrKirs8zBqdOm3JqFiBH4/MwTf2AYUPpfjyhndCSpgIgk6GLfnzjW 7F7sMLHgRGXyn4lYVfYkq9mQ9fiZm1DFHvXpMSTonw4VG0rc3rULJz+lHyQJIDvg mux95/vhzdhYYsTBU1vGFVW9Ly2Ao1Bhf/1iCB3/v0zXg58ryQ296YHuAX3VXHww 5EJJUAzHnf/Fla0KJaBkuWbUfr56eqhAQCe1PIC2sjih7DuwCYrqblJI7r/lP/93 jbyd98GK4JVLvYLug9nM4pKftmuyeVCh+2eYy2/PeEqs/O7wBZ6jYYr1bowMnnUT gowvoZw2K7RkH8M6roHhw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1779993330; x=1780079730; bh=H MJbL4gB8Y150GCLu/JJR2duf+kOOj8E8jOsqNeEC6Y=; b=kDntR5UBoQ1ajnFyQ fbH1SbwpoG/Zbj07eqhZD1fJIB3ywFJ1/R4GEG1UQhZndutyAxpQpXcCKMkRjGzB G9GucHqgXm7JFMI2kcPHN6RO4iGRREWL+2ttoGklRNuwlhVClFU7DxLMU+VMRDAa mUAA/m6PS5dKaoH5MxUi4JkVcE0s79zB2r9PznOxSbk9GfR4aUUGndrCSqrj3May +tFDfNrEakmXNSK2CE3wVL5/NQhA21eYrF4lUVckk5jFu7hvJj5WghSiZDLwz86S oKEi2n9g+vTdkWD/lfJuRec32lB6UL+YyGTtpSVhmDmwty7tTcTN+g+TS771TMEn 8ezyQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTFOvE/7suIpbR6ho9ZU3QNgCulHaDcCOBvqhFQm6pUVvIfiEczTvdgek8HzNC8LZj rmvd1OEl4a2KrhpaPdn7bNPj0P5TGpicGYmweufmDh6XkdJlc2QYyfUD++g6WAlTIOH0sp MrtTn17zfJI+W2gqtbNIIDkHI/LT6jgxXfdgmL+HNHBeGQDliL0rHHstgJjEDj1UxxWM+n UPtouQpARwts8W9Tnus3fGA+exEuxqyDb3sLUR11gUoZBTdhXmdEAGkJwlchABK+L65Ek0 4MRqv35/ULSDE+Q/fcV5PW3Z1rdawP7fW5T8AoUChOeR11MrW18m4p3maCNYURqw1dumpI suthBF2UQV1jC7gPuRp+MLl61U87O5ms310uDW5neNfhIK5km+VqbkfaXcuzbUTbkozmo2 s3GOYTuAyTuD3HbxY8IJ6DpJ6bnuIJmk85xFCJISKZVEUgxKwUbkZ7tjDj9DpHCWR7yUf/ mgQHLuEhbdLBjgf2gMoqR+Aqp8nPa5qCKz2MQTBbGfbQCYiTVL2zhjp9F6lgetlw1JvZzE 5NoAAYXn53xh4MP48GURVvMRZxqkft9xRwdOA1SNc8e4SAE2WkTNM/AD7ehCjxO6Q4DOvb CoVq8s5CsiKGBY8/Ta488otkBjc1/dG4B+FyODhza05+QfJmKhn5ZUjLShNQ X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 28 May 2026 14:35:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1779993327; bh=dlTcZVbTEYAKpkvpVzYi799HDRAejthF2enT3+ZUMrI=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=oZ/IBzqjf/6xHaBwM6wWaTTdc1e7H2YIvAl7BmGG2AMoq4tPGJtun0cC0vFr9wNuT U4+JRivIlEGeQvzxkJ8VeloXXBcWD5hQ4yw1PgJXL5mLn+aksVwzoKq5Gd+3+4jmdm qEM/LmWM6N5zZ2hat1iuLzNWo6XuzU4L/e0JH7+rBWyF0Uk64o5/jAoszslgEPq3MC esGFJMsf5fOJJIfNAyZAUCIwbcHSOCioKcJK/w9SFbevaQD/DRG7PHr0vF3LlVl1ga 3XEcZKJYKWwUmUk1ENzDCzsRHRpZ+ELBI+I3wZCQANSbRaT1BOYDvgQE8zp9IsCQgI w7zoULdpG8mDA== Received: by ida.kurilemu.internal (Postfix, from userid 1000) id 7066AB00633; Thu, 28 May 2026 20:35:27 +0200 (CEST) Date: Thu, 28 May 2026 20:35:27 +0200 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Chao Li Cc: Baji Shaik , pgsql-hackers@lists.postgresql.org Subject: Re: [PATCH] Improve REPACK (CONCURRENTLY) error messages for unsupported configurations Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <172EB2C2-DE11-4E5B-B115-38A7AD3B6A3D@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-May-27, Chao Li wrote: > > 0002 -- check_concurrent_repack_requirements() reports the same > > generic "no identity index" error for several distinct > > cases, two of which are misleading: REPLICA IDENTITY FULL > > (which is set, but the hint says there is no identity), and > > a deferrable PK as the only identity (skipped per commit > > 832e220d99a, but the hint suggests adding an index that > > already exists). Distinguish these cases. > > When I was working on 832e220d99a, I actually considered for more > detailed error messages, but I ended up giving up. I think we should > be careful about adding more branches here unless the existing message > is causing significant confusion in practice. I pushed this one too (well, something close to it anyway), because I think the replica identity issue could be an (unnecessary) usability tripwire. I'm curious to know why you gave up on this, if you want to share more. Thanks both, -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ Voy a acabar con todos los humanos / con los humanos yo acabaré voy a acabar con todos (bis) / con todos los humanos acabaré ¡acabaré! (Bender)