From: Krishnamurthy Radhakrishnan <kradhak@cisco.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: Dumping data using pg_dump after chrooting to a different partition
Date: Mon, 24 Oct 2011 16:25:21 -0600
Message-ID: <4EA5E5D1.8020804@cisco.com> (raw)
In-Reply-To: <4EA59DB50200002500042527@gw.wicourts.gov>
References: <4EA5E253.6020600@cisco.com>
<4EA59DB50200002500042527@gw.wicourts.gov>
Hi Kevin,
Can you please elaborate how to do the following?
connecting through a TCP connection and piping directly
from pg_dump to psql
Since we could have DB schema changes between the versions, we may not
be able to copy the data directory.
Does pg_upgrade support changes to the schema?
Thanks.
Radha
On 10/24/11 4:17 PM, Kevin Grittner wrote:
> Krishnamurthy Radhakrishnan<kradhak@cisco.com> wrote:
>
>> pg_dump works before chrooting to the secondary partition. Can
>> you please provide a way to dump the data after chrooting?
>
> How about connecting through a TCP connection and piping directly
> from pg_dump to psql?
>
> Of course, these days you have the option of just using pg_upgrade
> against the original or a deep copy of the data directory.
>
> -Kevin
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: kradhak@cisco.com, Kevin.Grittner@wicourts.gov
Subject: Re: Dumping data using pg_dump after chrooting to a different partition
In-Reply-To: <4EA5E5D1.8020804@cisco.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