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 1vSkI3-004lex-1r for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Dec 2025 23:05:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vSkI0-0021Ka-2b for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Dec 2025 23:05:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vSkI0-0021KS-1f for pgsql-hackers@lists.postgresql.org; Mon, 08 Dec 2025 23:05:08 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vSkHy-003vtr-1t for pgsql-hackers@postgresql.org; Mon, 08 Dec 2025 23:05:08 +0000 Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-7e1651ae0d5so3673779b3a.1 for ; Mon, 08 Dec 2025 15:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765235104; x=1765839904; darn=postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tg9NmLe4PCtixxmw8CSdpd7H5N6FeNwGb0xEUEopUoE=; b=g4Buss/+PTPpvd2lxxAkRn3MJBEBGKN/tIOJ0MRC8PRR9HNOrw0c6IHjYejkwZgrOP IE7cdLe+z0R1fM4hvGneYhF+G0VOGuNBY1YQbqO49mf/8mMr9Qy5n1GpS1HJYu1gvweo VPLE5xLggR0D6YxZMl4GuHDy/sBoca0tTVhjrhzBe50f6eXGUYvkL4ysLev0dnKMXZc1 FAsgg/I7VjxrWd3cMLWphchCA89MMbel8SdIdnnQ41gpfii0V856l1djuyceTsqDEoT5 81n6HnF6iJcea+JFwtXA/SbEyqZqyGvUx7Y4pYocYNR647ImZGtRmzuQOVwBPIliHQRL kWLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765235104; x=1765839904; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=tg9NmLe4PCtixxmw8CSdpd7H5N6FeNwGb0xEUEopUoE=; b=lqJoAmkt/WIXpKo5Bcz4t1ACszTphK8YxoDc0zc3JmSTyOgZoPhvwCtYhor6Jng5Dq 4ClOWu29THMhKJkvYkjSgEApf5D+Uu8nA61rpP+cr0TXaRAbzmzuqIuAz8TgzW6dBFtt gVkOLddgyaM7kA0CeBpeMf2+wlEOna9kJ5ZM71YNhQsbmloa0ikKtzBEVTOkwQKi/PVZ iMBiNkb27vPP0llEY0arxOzcWbPmQHiPqiXRk53cbbJXh44nYEeoNL6Rwg0vOjZMrzZV HAqovK/nzbylozdyBEHi+9ENJJC7EQ3MeLsckv4Mf1La5b+EAqJxz/DWC51zJuji/rDv vWQA== X-Forwarded-Encrypted: i=1; AJvYcCUbyXjwAwcMhU3pZy+AwYYzpv8s/VTmC85BgUtMtP199XWVTa3koBGk/VFqq4gf+70bLT+L0FhV/D0x9NND@postgresql.org X-Gm-Message-State: AOJu0YzacHE/ezc188rHUdWOMY0kbZgG5Rld0XFuec8nsg9D3MoiK8vz WzNI84uFyhsCX2TXv2erXY9kE2rX26si0BzcBB50rtbpIJ30NxoQj5Mx X-Gm-Gg: ASbGncvE29/t+SNCrUvwQgq4Yi+KzB99tMnr82slpVfDJQeRtz6GAP9Ooia88PEZSpd CgKO2qhyli/4cIzmHfX9BZdd4rKOXmbeSpSqpjcUNbRW+TVWfpfsFj1LST9BGA9IT1k0UBz18Z0 bitxZbKGzq3gGZiKgIpRtobaWnU0RNraTPJ+v67xs92jPLhfsQPvSp5RlN/MM4O6Vc5X6OI6qpS V7xmXOcXjn57Jp3MdLC0LhuL0tblXSVNY9g3A6gwW9CYCM/QITxSJp2nISCVQHfL9nrSJSvY7Ty OJZ2mbr8rxFwDej2cZM139a5Odkr/Q6FMhDs+qXQacSeAldixSa3czG2/lIReS6ig6Wxw3n4Dfd IsFTKZ/yYqiw1hBV0DpvX28T5+XBVcp42SqgkWApwgoNQHy3ES4sTyGvVhr2e9cSb0NnR7nLcUd U2OqMDpDdZFurUXBUbNp5BN/bIQBNbfw== X-Google-Smtp-Source: AGHT+IFo5fdYXYtSGp8tNsISI2J4oEssUuZSiwcKu/7JsiLhJX1ayUskuW9Nzy3JsN+y+ApFI7jiAA== X-Received: by 2002:a05:6a00:2d03:b0:7b8:8bfa:5e1e with SMTP id d2e1a72fcca58-7e8bf7611f6mr8333855b3a.4.1765235104209; Mon, 08 Dec 2025 15:05:04 -0800 (PST) Received: from smtpclient.apple ([45.32.121.103]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7e2a006547fsm14013751b3a.21.2025.12.08.15.05.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2025 15:05:03 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81\)) Subject: Re: vacuumdb: add --dry-run From: Chao Li In-Reply-To: Date: Tue, 9 Dec 2025 07:04:24 +0800 Cc: =?utf-8?Q?=C3=81lvaro_Herrera?= , Corey Huinker , pgsql-hackers@postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <202512081821.lruaedzh3qkr@alvherre.pgsql> To: Nathan Bossart X-Mailer: Apple Mail (2.3826.700.81) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Dec 9, 2025, at 03:24, Nathan Bossart = wrote: >=20 > On Mon, Dec 08, 2025 at 12:27:26PM -0600, Nathan Bossart wrote: >> On Mon, Dec 08, 2025 at 07:23:16PM +0100, =C3=81lvaro Herrera wrote: >>> I haven't read this thread, but chanced to come across this and = wanted >>> to note recent commit c05dee191125. I'm not opposed to changing = what >>> went in there, but let's make them all the same. >>=20 >> Ah, that must've been where I stole from originally. Will switch it = back. >=20 > As promised... >=20 > --=20 > nathan > = I searched over the source tree, and find =E2=80=9CRunning in xxx = mode=E2=80=9D in initdb and option.c: Initdb: ``` printf(_("Running in debug mode.\n")); printf(_("Running in no-clean mode. Mistakes will not be cleaned = up.\n"));``` Options. ``` pg_log(PG_REPORT, "Running in verbose mode=E2=80=9D); ``` And =E2=80=9C=E2=80=9DExecuting in dry-run mode=E2=80=9D in a few = commands: pg_archivecleanup.c, pg_createsubscriber.c, pg_combinebackup.c = and pg_rewind.c. Should we make them all consistent? Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/