pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Florents Tselai <florents.tselai@gmail.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Subject: Docs pg_restore: Shouldn't there be a note about -n ?
Date: Sat, 21 Sep 2024 20:33:53 +0300
Message-ID: <284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com> (raw)

I’m in the process of trying to restore some PG15/16 backups in PG17.

While playing with different -t and -n combinations I was browsing through the docs.

In pg_restore there are two notes about both -t / -n 

> When -n / -t is specified, pg_dump makes no attempt to ...

In pg_dump though there’s the equivalent note only for the -t option.

Shouldn’t it be a note as well for -n ? 

Otherwise I would expect -n to cascade the restore to objects in other schemas;
Which I don’t think it does.

Am I missing something? =

view thread (9+ messages)  latest in thread

Message-ID: <284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com>
Permalink:  ../284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com/
Also on:    postgresql.org/message-id/284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com

 · 

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: florents.tselai@gmail.com
  Subject: Re: Docs pg_restore: Shouldn't there be a note about -n ?
  In-Reply-To: <284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com>
  References: <284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com>

* 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