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 1vnLHR-005RBN-2S for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Feb 2026 18:37:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vnLHQ-006p0l-2j for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Feb 2026 18:37:40 +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 1vnLHQ-006p0d-1V for pgsql-hackers@lists.postgresql.org; Tue, 03 Feb 2026 18:37:40 +0000 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vnLHO-00000000Ouv-1Z8e for pgsql-hackers@lists.postgresql.org; Tue, 03 Feb 2026 18:37:39 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id B0E211D0014C; Tue, 3 Feb 2026 13:37:37 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Tue, 03 Feb 2026 13:37:37 -0500 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=fm1; t=1770143857; x= 1770230257; bh=VNb8Fig0n9MLUPhnAj7bSufkfh/1rYFNU44pPXDKKFE=; b=H P41foBFO1CZZNLVAsLRNeL3iwWa2jEa/DLm6bh31aG8mcMuaRDYYG+xKQRiWeKXz dCepumn5GJTb4tsPprqWNqcHik7REuajn9lq8nyJHFmdFverWQZaHQ1tGLWH4s58 DBwIas7LKStwB0lHV7Z7XwNekGQh3bKDoWHtysBmWWBeTFMnQC5jp0fN3LKSGvUG qckYqHjZ23s7wkwN2vRir67b37gj+BGPSWnWhOslbFXtVV5eTCVt9bEuZQlaT+eY Fus90af9mlZVtqv5ibc/LNWwqEtjKcnsOMTFnHYsZ7eAtjZKYk2dA+ScJhRhu5m3 CIq9pF4ksXlNlB+KVROIQ== 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=1770143857; x=1770230257; bh=V Nb8Fig0n9MLUPhnAj7bSufkfh/1rYFNU44pPXDKKFE=; b=U4eLsZi9JYkO1EXM0 6rdG9hfXbhcL4BG5XGo/mwOTVx/qpzkP0Y35xHKrCnTDuMMtb3yDreS7OfG/4C9b p/p7GIRa1qVMK1kNF1qf4M3BpSuejAZN17Q1xA2M0tXrOdhDeamwd+6QjT9nDKAy XzjPddEIcivOfLM/ahuIeik067nB9pI+c0kRhcClgCqhhOQ0Fcpb+hBvI9ptZVXl b+zrL9Awp6u6BiRyT+HFxtlU+GRFh6xNjzBWXqxy8Q8wdf40yn7FH1Nj+yK6g5UH XReL74mo/JwzE9DvjlNB/3a2FVXRZb9nkwb6QJU8VWFkHRbJiLOcppoGyQ0F+hrm xe8HA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddukedtjeekucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheplmhlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsehkuhhrihhlvghmuhdruggvqeenucggtf frrghtthgvrhhnpeetuedvheffkeevgfeuheevteevkefggedttdeufeeuheduuddthfef fffhjeefffenucffohhmrghinhepvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv sehkuhhrihhlvghmuhdruggvpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpoh huthdprhgtphhtthhopegughhrohiflhgvhihmlhesghhmrghilhdrtghomhdprhgtphht thhopehflhhorhgvnhhtshdrthhsvghlrghisehgmhgrihhlrdgtohhmpdhrtghpthhtoh epphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg pdhrtghpthhtohepthhglhesshhsshdrphhghhdrphgrrdhush X-ME-Proxy: Feedback-ID: ie3de48e3:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Feb 2026 13:37:37 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kurilemu.de; s=schmee; t=1770143854; bh=AgMkGKbqnlTLvcNF4Ae1F0Zk9Xet7UZfGzX9xbkm7rQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=62cpDj/2xoJqRYlXU8tAVR+ESXLDS6jkcxAuzeqvz+ZpxYYyylrcjWL51Yo038VZy gCNVnNjGHGTGe6jXTD/USovx4X+Tm+Qocyq58awojNktxvtZkFjnGQB/Uu52+bPWaF 0sO2g1Fn/zsUQfrzSi6wWOpmudWhOhRlHTmScp9DzAI+IBRLjWAKPtexjPK9mMU6W6 KxVXQnd219UnODhbKnwAZvHrjD1IrYyoEbu5j1lxYRORli+j5WQTdgUUJZLuGzikgA uyPSp2EoIIGNRnuHGwSPb4+t//uIqxuZwb4CY6Tj22ibLI1XeiA/bMrf2EBbzMhzou JcwA6Lm5OLA9Q== Received: by schmee.kurilemu.internal (Postfix, from userid 1000) id C47667A; Tue, 03 Feb 2026 19:37:34 +0100 (CET) Date: Tue, 3 Feb 2026 19:37:34 +0100 From: =?utf-8?Q?=C3=81lvaro?= Herrera To: Florents Tselai Cc: David Rowley , Tom Lane , pgsql-hackers Subject: Re: Docs pg_restore: Shouldn't there be a note about -n ? Message-ID: <202602031834.gdtouimq464x@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-Jan-05, Florents Tselai wrote: > I consolidated the dependency warnings into the main "Notes" section for > both pg_dump and pg_restore, removing the repetitive per-switch notes. > > For the -e switch in pg_dump, I replaced the removed dependency note > with a specific warning that extension installation files (shared libs, > control files) are not included. > I agree that maintaining a specific note for -e is the right move. > Given the broad usage of pg_dump, it is helpful to be explicit that the > dump only captures the SQL definitions and not the underlying system > binaries. Makes sense. I have pushed this. I just noticed though, that the issue in pg_restore applies not only to the -n and -t switches, but also to -L (where you specify a file with a list of objects to restore) and --filter. Maybe we can this new paragraph mention that as well. -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "No renuncies a nada. No te aferres a nada."