pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Álvaro Herrera <alvherre@kurilemu.de>
To: Florents Tselai <florents.tselai@gmail.com>
Cc: David Rowley <dgrowleyml@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: Docs pg_restore: Shouldn't there be a note about -n ?
Date: Tue, 3 Feb 2026 19:37:34 +0100
Message-ID: <202602031834.gdtouimq464x@alvherre.pgsql> (raw)
In-Reply-To: <CA+v5N40gV5PNsFDiXUyOhxRAET+VSJp84xM2EXbHhjQx_gK=FQ@mail.gmail.com>

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."





view thread (9+ messages)

Message-ID: <202602031834.gdtouimq464x@alvherre.pgsql>
Permalink:  ../202602031834.gdtouimq464x@alvherre.pgsql/
Also on:    postgresql.org/message-id/202602031834.gdtouimq464x@alvherre.pgsql

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: alvherre@kurilemu.de, florents.tselai@gmail.com, dgrowleyml@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Docs pg_restore: Shouldn't there be a note about -n ?
  In-Reply-To: <202602031834.gdtouimq464x@alvherre.pgsql>
  References: <CA+v5N40gV5PNsFDiXUyOhxRAET+VSJp84xM2EXbHhjQx_gK=FQ@mail.gmail.com> <202602031834.gdtouimq464x@alvherre.pgsql>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox