Docs pg_restore: Shouldn't there be a note about -n ?

From: Florents Tselai <florents(dot)tselai(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Docs pg_restore: Shouldn't there be a note about -n ?
Date: 2024-09-21 17:33:53
Message-ID: 284C4D55-4F90-4AA0-84C8-1E6A28DDF271@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florents Tselai 2024-09-21 17:40:27 Re: Docs pg_restore: Shouldn't there be a note about -n ?
Previous Message Marcos Pegoraro 2024-09-21 16:50:37 Re: Why mention to Oracle ?