From: Paul Förster <paul.foerster@gmail.com>
To: Tim Cross <theophilusx@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Oracle vs. PostgreSQL - a comment
Date: Sun, 31 May 2020 17:09:01 +0200
Message-ID: <C3BEF959-57A4-4C6D-B229-15C598876A33@gmail.com> (raw)
In-Reply-To: <87a71onsls.fsf@gmail.com>
References: <0959C81A-5B07-4D04-A6B1-57AA78A9A553@gmail.com>
<87d06lnn05.fsf@gmail.com>
<24F7752C-AA89-4EC8-B142-DAD6F6E92048@gmail.com>
<87a71onsls.fsf@gmail.com>
Hi Tim,
> On 31. May, 2020, at 15:26, Tim Cross <theophilusx@gmail.com> wrote:
> P.S. for moving Oracle databases, we use to just use sed and change the
> paths in the control file. Worked remarkably well. Often used this
> technique to 'refresh' our dev or testing systems to current prod data.
it works well if the length of path+filename does not change. I had bad experiences with this technique if the length changes because controlfiles are binary files unless you alter database backup controlfile to trace as '...'. So, as I said, you need to recreate the controlfile.
But this is Oracle and not PostgreSQL... let's leave it at that here.
Cheers,
Paul
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: paul.foerster@gmail.com, theophilusx@gmail.com
Subject: Re: Oracle vs. PostgreSQL - a comment
In-Reply-To: <C3BEF959-57A4-4C6D-B229-15C598876A33@gmail.com>
References: <0959C81A-5B07-4D04-A6B1-57AA78A9A553@gmail.com> <87d06lnn05.fsf@gmail.com> <24F7752C-AA89-4EC8-B142-DAD6F6E92048@gmail.com> <87a71onsls.fsf@gmail.com> <C3BEF959-57A4-4C6D-B229-15C598876A33@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