pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: list tablespaces named in custom format dump
Date: Mon, 23 May 2022 10:54:22 -0600
Message-ID: <caaf8cd5-5728-6b23-e74d-cc25d89b3a58@gmail.com> (raw)
In-Reply-To: <9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com>
References: <29112dbe-b1bd-afe9-63d3-f7ba50ece939@gmail.com>
	<9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com>

On 5/23/22 10:50, Adrian Klaver wrote:
> On 5/23/22 9:45 AM, Rob Sargent wrote:
>> Using pg 14, is it easy (possible) to list the tablespaces used in a 
>> custom format dump. Are the definitions included?
>>
>
> https://www.postgresql.org/docs/14/app-pgdump.html
>
> "pg_dump only dumps a single database. To back up an entire cluster, 
> or to back up global objects that are common to all databases in a 
> cluster (such as roles and tablespaces), use pg_dumpall."
>
> https://www.postgresql.org/docs/14/app-pg-dumpall.html
>
> "-g
> --globals-only
>
>     Dump only global objects (roles and tablespaces), no databases.
> "
>

Roger that, but does the dump of a database name the tablespaces from 
which the objects were retrieved? And if so, is that accessible?






view thread (18+ messages)  latest in thread

Message-ID: <caaf8cd5-5728-6b23-e74d-cc25d89b3a58@gmail.com>
Permalink:  ../caaf8cd5-5728-6b23-e74d-cc25d89b3a58@gmail.com/
Also on:    postgresql.org/message-id/caaf8cd5-5728-6b23-e74d-cc25d89b3a58@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-general@postgresql.org
  Cc: robjsargent@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: list tablespaces named in custom format dump
  In-Reply-To: <caaf8cd5-5728-6b23-e74d-cc25d89b3a58@gmail.com>
  References: <29112dbe-b1bd-afe9-63d3-f7ba50ece939@gmail.com> <9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com> <caaf8cd5-5728-6b23-e74d-cc25d89b3a58@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