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>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: list tablespaces named in custom format dump
Date: Mon, 23 May 2022 13:26:48 -0600
Message-ID: <82F39D73-E439-4F49-91A9-BDF30630C6A7@gmail.com> (raw)
In-Reply-To: <756c6a6f-08c0-39f3-a697-516ee3acd77c@aklaver.com>
References: <29112dbe-b1bd-afe9-63d3-f7ba50ece939@gmail.com>
	<9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com>
	<caaf8cd5-5728-6b23-e74d-cc25d89b3a58@gmail.com>
	<55cf2ca7-b431-b5bc-1b86-b6c8726ac4c5@aklaver.com>
	<2904d7b9-3bf0-fee0-f043-c8f904fc6c1d@gmail.com>
	<78db98f0-0e1b-d744-25fd-5390d720e2b8@aklaver.com>
	<66d925ce-5a4e-e3e0-583a-f1c2574948dc@gmail.com>
	<6272f0ac-4faa-d86e-3f05-7736a4010b54@aklaver.com>
	<c6f9c9dc-9d9d-1441-f1b7-5153f52878f3@gmail.com>
	<1304637.1653329702@sss.pgh.pa.us>
	<4592d00b-23e9-3982-84f7-c376932ac5cc@gmail.com>
	<756c6a6f-08c0-39f3-a697-516ee3acd77c@aklaver.com>



> On May 23, 2022, at 12:59 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
> 
> On 5/23/22 11:31, Rob Sargent wrote:
>> On 5/23/22 12:15, Tom Lane wrote:
> 
>>> 
>>> pg_restore -f - db.dump | head
>>> 
>>> which should provide some comments telling you the originating
>>> server version and pg_dump version.
>>> 
>>> 			regards, tom lane
>> OK, back to reality: version 10 dump.
>> The output of from head command is very different that Adrian shows but I'm still left giving pg_restore(14) a shot.  Getting older server will be challenging.
> 
> Different view of the information.
> 
> pg_restore -l has more detail, but all you are interested in is this:
> 
> -- Dumped from database version 14.2
> -- Dumped by pg_dump version 14.2
> 
> anyway.
> 
> As to older version, how are you installing Postgres?
> 
> 
>> Much appreciated,
>> rjs

Yeah, that’s part of the problem.  I’m not installing postgres, another group has that control.  I can get the answer for version 14 but maybe not for version 10.  Currently these are “Rocky Linux” but the pg14 install could have been done on CentOS8.  CentOS<something> for version 10.  I’ll see if I can nail that down.

view thread (18+ messages)  latest in thread

Message-ID: <82F39D73-E439-4F49-91A9-BDF30630C6A7@gmail.com>
Permalink:  ../82F39D73-E439-4F49-91A9-BDF30630C6A7@gmail.com/
Also on:    postgresql.org/message-id/82F39D73-E439-4F49-91A9-BDF30630C6A7@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: <82F39D73-E439-4F49-91A9-BDF30630C6A7@gmail.com>
  References: <29112dbe-b1bd-afe9-63d3-f7ba50ece939@gmail.com> <9013c93e-3f01-f40a-4e14-7b1c9d7b065d@aklaver.com> <caaf8cd5-5728-6b23-e74d-cc25d89b3a58@gmail.com> <55cf2ca7-b431-b5bc-1b86-b6c8726ac4c5@aklaver.com> <2904d7b9-3bf0-fee0-f043-c8f904fc6c1d@gmail.com> <78db98f0-0e1b-d744-25fd-5390d720e2b8@aklaver.com> <66d925ce-5a4e-e3e0-583a-f1c2574948dc@gmail.com> <6272f0ac-4faa-d86e-3f05-7736a4010b54@aklaver.com> <c6f9c9dc-9d9d-1441-f1b7-5153f52878f3@gmail.com> <1304637.1653329702@sss.pgh.pa.us> <4592d00b-23e9-3982-84f7-c376932ac5cc@gmail.com> <756c6a6f-08c0-39f3-a697-516ee3acd77c@aklaver.com> <82F39D73-E439-4F49-91A9-BDF30630C6A7@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