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 1vRciO-000cUW-28 for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Dec 2025 20:47:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vRciN-009zPN-0m for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Dec 2025 20:47:43 +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 1vRciM-009zPD-32 for pgsql-hackers@lists.postgresql.org; Fri, 05 Dec 2025 20:47:43 +0000 Received: from mail-oa1-x2b.google.com ([2001:4860:4864:20::2b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vRciK-003Kpq-2T for pgsql-hackers@postgresql.org; Fri, 05 Dec 2025 20:47:42 +0000 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-3e8317b1262so2679836fac.3 for ; Fri, 05 Dec 2025 12:47:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764967661; x=1765572461; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=GXdyEmgG8e23ARHf45pH8jmgefRqu5fJ/3SEDwFHJfA=; b=HPQ0hButurQWBoQneodOLcwebeN/AdrH8qQ8JzeQHRhBLPE69pc21Z4gmRr3WjomCH cfBs8PS853QzrnUqYgveJhh4W2d8zmp/t5Sa3fgdnGAa0gB14qSI7UtktCy9lhzNUJez LKe3UIu73inlPmrF0rYME1mZJLdT+r7ISNYujA26W+ki4ckVDMzhVULv34T7+PvgwMCZ YsaGiCVgrKsfD/gxMN5EvcOnL0e5g8byTC4+a/nxdp/Faj71yMDx6OwHTMbUOpupNzeT v74iMfD0M6diI/XHKu++5EbKgF5JAxxzJs3mONUPHsQE0JPVs0yp9/Ydos0cKOzm4Vf4 tAiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764967661; x=1765572461; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GXdyEmgG8e23ARHf45pH8jmgefRqu5fJ/3SEDwFHJfA=; b=wXhwPBT+xl7pxe8Gf2zvY0RntYd7de/v6Ny6mnroalUO0iUcPBoSn4+8LUHP5YcIcF 2AuajNfPbRUdlon6mnR+6/qY29z9evua+5I5bCGS4PJxqFKSZs88uUayKvppv91EJ7cF UUg4TZdlZn3TWQKzLf6ShMvUenzLN26Ml10WtFMrzDy70O9Um+jOWJKT8DUtZn8fZTA2 zCjQw9wPONvMyJEio61CSRkmYKRFPJXP63JcCo/oB9DPtZ3IpMZ0RBnD4b8UkBGyQ/Ud w8OExP8iCNgWpDVkfT/1rRGW8YLPufgClw1SpmJinQEBUc8S/PWahJZnGyATXReByHif jZ0w== X-Forwarded-Encrypted: i=1; AJvYcCVI9ZyzezHJF3J1RXvHK7Jat22nwJmU5TgpD7Y5598eVaVNpx7QcKSlmZKzM01Jjd7EO4mgTI5vMHzqMfEO@postgresql.org X-Gm-Message-State: AOJu0YzhQnKz/rYX79wUQSoi2IzH8IweHa2TOsuhQQoI0Qw8/1q2iFIW IWkjdcR4XHVPkCDJIMYHuRbjpW6XtR84daBWoGdgnOtOEfmLKCcH95OY X-Gm-Gg: ASbGncsITqoebQZ6RQEZ3b+mmPpwwhy6sn1Q9EbXnCNSNoaOcrsie7e3J6GCm1ktGhs X/LOwkpZXBwY0NeL2uTsnqWEy0fmSJ4cng0jjvq3oyy3/xoE/6i59KzoBCWYcC980Ihv6nJ5XoN /+dikR6NF2zLFLdQnAWT39j6W0QpmeS3Y3LAR4eY+TUfc5biOhK9GI6Fg8e7MK+IIjeULbpM3sG Td/oV1TLxDQM79uXrvagchnTF5FotWjqM6wP1DsWjSRLZvF3X3wYiF/fIi5wjxIoD6Z+bqai7oN yjoA61ca9Rcmcgg0zXgRKiZcHrN4061Iq7G+MLmw8nrIFiJmXDMUgPgZt7cVMFMQutyj4poqzaG Wpjp0QIGPCsl9X12S6gjOrfLOB6oVKClnN9Q+eCpvnhupB20/6uJBzaYF8kQKaMrxF/ftwbNUg0 oao0tr4Wh0jds8Ci83+UezsMUy1wEkWvHWEDEqZHO3mTMR0xCQu0co9bVpNdJDTjoEZUaCNyRqn gc7 X-Google-Smtp-Source: AGHT+IFTMqjdNOvdIMf9g+leyXcmBx2t8E0hqv0Y4ytkd6gvt8YHF8QkqKVqxXJAvpOI7dXS+Brkmw== X-Received: by 2002:a4a:e848:0:b0:659:9a49:8fc3 with SMTP id 006d021491bc7-6599a9711f0mr217660eaf.60.1764967660758; Fri, 05 Dec 2025 12:47:40 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-6597ec61d03sm2746860eaf.8.2025.12.05.12.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Dec 2025 12:47:40 -0800 (PST) Date: Fri, 5 Dec 2025 14:47:38 -0600 From: Nathan Bossart To: Corey Huinker Cc: Kirill Reshke , Chao Li , pgsql-hackers@postgresql.org Subject: Re: vacuumdb: add --dry-run Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Dec 05, 2025 at 03:34:12PM -0500, Corey Huinker wrote: >> I guess we could probably remove the top-level "Executing in dry-run mode" >> message, provided we say the same thing in the per-database message. >> However, the latter can be turned off with --quiet. Maybe we should >> consider disallowing --quiet and --dry-run. > > --quiet does appear to be the sworn enemy of "tell me what you would have > done if you were really gonna do it". So yeah, disallowing that combination > would make sense. On the other hand, --quiet is handy if you're trying to save the output of --dry-run elsewhere to run later. (Of course, if you use --all, that output won't be tremendously useful.) -- nathan