Re: list tablespaces named in custom format dump - Mailing list pgsql-general

From Rob Sargent
Subject Re: list tablespaces named in custom format dump
Date
Msg-id 3e425950-e969-bd6a-20f7-7541358b5afd@gmail.com
Whole thread Raw
In response to Re: list tablespaces named in custom format dump  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 5/23/22 11:29, Tom Lane wrote:
>
> AFAICS, the output produced by -l doesn't mention objects' tablespaces.
> You could see them by extracting the plain text archive and grepping
> for object comments that include a tablespace name:
>
> pg_restore -s -f - archive_file | grep Tablespace:
>
> It looks to me like that will only appear for tables with non-default
> tablespaces.
>
>             regards, tom lane

That worked, thank you.  I see it has only the "name"  so I presume 
location can be redefined in the receiving cluster.




pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Can I start Update row in After Insert trigger function?
Next
From: Adrian Klaver
Date:
Subject: Re: list tablespaces named in custom format dump