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 1wOvmE-000I5H-1W for pgsql-hackers@arkaria.postgresql.org; Mon, 18 May 2026 11:04:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wOvmB-001sEQ-3D for pgsql-hackers@arkaria.postgresql.org; Mon, 18 May 2026 11:04:48 +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 1wOvmB-001sEI-2B for pgsql-hackers@lists.postgresql.org; Mon, 18 May 2026 11:04:48 +0000 Received: from mail-wm1-f50.google.com ([209.85.128.50]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wOvmA-00000000A22-0qwb for pgsql-hackers@lists.postgresql.org; Mon, 18 May 2026 11:04:47 +0000 Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-48fde648a71so14057275e9.0 for ; Mon, 18 May 2026 04:04:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779102285; cv=none; d=google.com; s=arc-20240605; b=EIL+mnqfsg4RnFAg2C0JZSX2PshqlPCf8w652QecuqPkoS1YoVr6TmdC5KJsoveV7D 7BSk5XVVSFhjgNFJyPt+0bgvCZ/ypEGbfM4QpbgdD74W2e9UBPr2FO6mrzYtVuWBf3AV ezJEb6OWcOplrUj65BFgQOSsLVQ/D9JIa1JHuNYoCyH/wOglsDCQLsjGgpvUlQabEm7m y/mZbEyaeOEMzSd8HWMoCfqC+fJxnJDGdLr+C0ukfRlFsd3HdI8icSS8ZmXEukenxbWt yWGZPE96H4hWQAkpv1lKJn4K8Vp1pNThuDJHGyZTVGLvJAbOCZwFFPnPB36IksjvO/M0 HBYg== 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; bh=0mc6VgB51i+LRsu+qrfXEu9u6ZM5KKO4a88iU4tuMEw=; fh=1pRQWxQ+uLtHniI2WuoxWtTiXutqIfDkTNge6oiHaOY=; b=DEm9omxjospWUXnXHGl8g5w7S6cQLVkGTvDnyLWGs9bF/EzYd7jUJueKpJn69InlB9 R6IyAD9k6WU7BTQ95Xn1HAFA31b1qUmP7R5ArKfoCnKn7xGCikaC7sk/pHHUzHHfS22X Zy7mdJR6XvRDc4nhKrJ+Y2wvNVKGWuo7/f+SXYFJaQzGwKWI+9rWB4qu2Xem7e49pZbM hoXSs9+LTgNLb6qdCMI9eBTAPcBpVeBmDnHI8S69IOD1gBkt6zMYvamcWib4iZdiC9zz EjujnELVpvK66u7oth3m61TA4A37WhQAXzvnRv4RiwzNJuw0uVmdm3ghoxDYaDiTtBOy LKEQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779102285; x=1779707085; 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=0mc6VgB51i+LRsu+qrfXEu9u6ZM5KKO4a88iU4tuMEw=; b=TESXSoROOwC3tK1S69XfqPm96BmI7zF/SCzyS3tyd/h26ThLWIS+O6vyhKJx2Yf3wA P3b7OD3o/58qeCZ0xlTWB/dUi5H1Le1yQyPbvv2yKfEmaKBGDAFOm9pjY0Og0qtqmUxt suxrSTydJYJYfxT8qAU2MA7JFJJ7QuCTrtm0HjxqLb1rJ6lr/SSFa4mom2+OKmq653yU aKhe8q28ahgCVu7q86RZoDABDY+wKO/W5J7Bl57rZ3OHRYcPlrw6e3qV4kP538CaXYl8 IGivqk7f63SiiTK1iPeTO3wag8zfERc4Onjiiu8Oy9n83nVUtlUuBRWidpRXK+V3WofG r7AA== X-Forwarded-Encrypted: i=1; AFNElJ/FggvB/gOgiVmkqrNmgTfGo56bWwa37goVGs9z4zwWnTfxzwUSTt6wEqAOWexvYBIz2x0g/SF1CBsKRWrb@lists.postgresql.org X-Gm-Message-State: AOJu0Yya4s8aa8o4+rnNVdidnfn6yebQegl/aYn4l2zlHyV29q5L0jr/ H8uziRBN3kimNEuaqp8JqwMHUG+quabI32QjhH84V0dx9LrnSDZDPj8vJqpQDpPX8ayYc7AgI1T lcQOhCTwMJ8DWzXDA7LeU5lNn3yZiq4w= X-Gm-Gg: Acq92OGxCjq4sTgUHT+IHZTr4aBjn/76c/iwCWLoFqkGmam32EYo4N/gOpPsnqSQ+Cw lIDhyZA/5+G4aUKJb/V0MIhs6bBBc444pb4JQtXkEewK5M5/H1yCyv0tGp1Ovk7ElkqyKiQf1ZP AyeT2iSv+Fe1N+BHe7to1xwE6Y+ZD0P0cG0+v7vr14CcYcvnzqzS4QRKsLdjwt8akh0le4fCemM fuOSDM+zbcT1EMkkkyanWa1xhlStZwshxzyX6oeh1sbR3PYF4QNKQNGl0T70/GunJy1rIfJV5R+ aitO7IHldT6koEqkng== X-Received: by 2002:a05:600c:1d09:b0:48d:50a:6ef4 with SMTP id 5b1f17b1804b1-48fe537fb44mr188861315e9.11.1779102285144; Mon, 18 May 2026 04:04:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Thom Brown Date: Mon, 18 May 2026 12:04:18 +0100 X-Gm-Features: AVHnY4IkV6fxq7086ej4ooMhrMg78Wgv4e3OvWN1JczSTj8oN6XPaAGey8l_Qg0 Message-ID: Subject: Re: [PATCH] Fix psql tab completion for REPACK boolean options To: Fujii Masao Cc: =?UTF-8?Q?=C3=81lvaro_Herrera?= , Baji Shaik , pgsql-hackers@lists.postgresql.org 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, 15 May 2026 at 10:36, Fujii Masao wrote: > > On Wed, May 13, 2026 at 9:46=E2=80=AFPM =C3=81lvaro Herrera wrote: > > > Thanks for the patch! It looks good to me. > > > Unless there are objections, I will commit it. > > > > Yeah, looks good to me, thanks. > > I've pushed the patch. Thanks! > > > Fine with me. I wouldn't have a problem saying it's a backpatchable > > bugfix, but it's certainly not very high priority or criticality. > > Agreed. > > > BTW, while testing REPACK boolean options, I found two other issues > in their parsing. > > First, REPACK (CONCURRENTLY OFF) failed with: > > ERROR: unrecognized REPACK option "concurrently" > > even though REPACK (CONCURRENTLY ON) works correctly. That is, > CONCURRENTLY was treated as an unrecognized option when disabled. > > Second, when the same option is specified multiple times, the last value > is not always honored. In particular, if any occurrence sets an option to= ON, > the option remains enabled even when the final setting is OFF. > > I think these are bugs, and the attached patch fixes them. Thoughts? I saw this just got committed. Is there a reason the option handling for this, VACUUM, and EXPLAIN aren't done in one place? Thom