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.94.2) (envelope-from ) id 1v1tZB-00DrKo-Do for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Sep 2025 21:31:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v1tZA-006Hmd-0P for pgsql-hackers@arkaria.postgresql.org; Thu, 25 Sep 2025 21:31:52 +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.94.2) (envelope-from ) id 1v1tZ9-006Hl0-Jf for pgsql-hackers@lists.postgresql.org; Thu, 25 Sep 2025 21:31:51 +0000 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v1tZ6-002R1L-10 for pgsql-hackers@lists.postgresql.org; Thu, 25 Sep 2025 21:31:50 +0000 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-72e565bf2f0so15358747b3.3 for ; Thu, 25 Sep 2025 14:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xzilla-net.20230601.gappssmtp.com; s=20230601; t=1758835907; x=1759440707; 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=BkI6A3E21zkZ+lainT0OQrF328W0ubb3ORcADJ80Wz8=; b=ZcxsvdEEnRDFkBiSJ1xNdexAa41qbiJt+o9fFVWcFdn64E50x0pQnFKDPHImL8YhlO GcEBmGBNHz/Y5OVNJsfuMdiaFv6wi456BG6QmqBbQ/3+91Qxma5OH48yF4P92TnH7bHw ElhZQ7s0IlI4Ue196grlNJPsnfuOqKvPA8xhk9EuRKaWwfFtr29M9TjmYn2MCTv8054P 3WqIqe8krYOKvGcK8dDJbnRzoCAQ87gQlKd7ammbfg//Oh95Yj4qG+sk0UyGapdTlbVf IeGUApJzkdIVnNaTR0+h/a6UiFER+tXVHgwQV78MV+MgKqJD15/ViVbGDJFkvU7QtCwS G/KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758835907; x=1759440707; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=BkI6A3E21zkZ+lainT0OQrF328W0ubb3ORcADJ80Wz8=; b=ce0nBxr/pYM7Hg1weNYU4dTibP4LrJNBG7Gis77VWthNAzePgCJS93qLD2DTDw9K8a Hr177/cNXyVZtlb2MRjyEobAY6c281O5HtqPj/EJbvCzrHE+9ymOjL5ICgUT/XDOHcxY NNJksFO7n+tKs7JGz9QpyB+XP5/oqUB7zb6QWOpQY3A5WXf633pGuT0JUrMHv4AYknMu I3eD49U/8If0UFOqxNrY0+WlPf6kiMVDs0QfzTfV+Q0u6bVXfpGFwWNglrfcU/NiL5ql PuIJne4t9wJTYC53IFAd5iM+4Z7aCEBz6GUWAgIqtOvBu7i6VsJx9tFQtfZEREzyYk5D 9M/g== X-Forwarded-Encrypted: i=1; AJvYcCWFP0oToOUcuaogPE9VkLWJ56AdspuNIFwI8dy1O5PfpjrtQqGxuPtNbpWBWJb41RtlXlF/qkkafZA6GrV3@lists.postgresql.org X-Gm-Message-State: AOJu0Yzeb8VdeZu5g3detdMt0J9j1DRLFLjHKtPsKTBbmDzeLs+NexaQ 9I81SjMCeMaujkqCJDoEfEw4UNSGFOWOYAOQxVJv85v5xcMRtHpN8Z6Dcy1TL1d5b4El+izGic8 4HNV3gmGTBcLv5N3S6AGlEqTPE/Qi+f9V3VicEPQP+w== X-Gm-Gg: ASbGncsbPS3MpsVQHCjQGbTDDCc9swBGWTOCITxz/FM2RzQuMJ6Sdaf4yaIkdZOXwX8 qtwE1FfuJGSSyvMd0plR+DHA94opdi/yfOZ71alhYfFJNErlyISGOARsSvcKYnGy7rzRUI2RSvJ pQSxcMWxtCIPVjUf94onfVpX4EUhrppVS7Vehs0B541U1A9mNqn3p3tnpgKgv/wLgwqLMExIuoT DxVt1Y= X-Google-Smtp-Source: AGHT+IHgqBfbhks6VvmHrLC0UAG9Ibp8AugjAl37QtBAuBmwknv2i0cD6C8me4o/FjJ9mVnOSzThVCH6H03771pLHN4= X-Received: by 2002:a05:690e:245a:b0:635:4ecd:759b with SMTP id 956f58d0204a3-6361a87c71fmr3733396d50.41.1758835907309; Thu, 25 Sep 2025 14:31:47 -0700 (PDT) MIME-Version: 1.0 References: <202508301750.cbohxyy2pcce@alvherre.pgsql> <202509251758.t77p7r2ocmej@alvherre.pgsql> In-Reply-To: From: Robert Treat Date: Thu, 25 Sep 2025 17:31:35 -0400 X-Gm-Features: AS18NWAL7r87hFoDaB9GMOdb8UgGzM0jhD7sK4Vfu3lugVbNCluYl0JKepO5oeE Message-ID: Subject: Re: Adding REPACK [concurrently] To: Marcos Pegoraro Cc: =?UTF-8?Q?=C3=81lvaro_Herrera?= , Pg Hackers , Antonin Houska , Fujii Masao , Mihail Nikalayeu 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 Thu, Sep 25, 2025 at 4:21=E2=80=AFPM Marcos Pegoraro = wrote: > > Em qui., 25 de set. de 2025 =C3=A0s 15:12, =C3=81lvaro Herrera escreveu: > > Some typos I've found on usage of pg_repackdb. > > + printf(_(" -n, --schema=3DSCHEMA repack tables in the spec= ified schema(s) only\n")); > + printf(_(" -N, --exclude-schema=3DSCHEMA do not repack tables in t= he specified schema(s)\n")); > both options can point to a single schema, so "(s)" should be removed. > "in the specified schema(s)" should be "in the specified schema" > > Same occurs on this one, which should be table, not table(s) > + printf(_(" -t, --table=3D'TABLE' repack specific table(s) = only\n")); > This pattern is used because you can pass more than one argument, for example, something like pg_repackdb -d pagila -v -n public -n legacy While I agree that the wording is a little awkward; I'd prefer "repack tables only in the specified schema(s)"; but this follows the same pattern as pg_dump and friends. Robert Treat https://xzilla.net