Re: Oracle vs. PostgreSQL - a comment

From: Paul Förster <paul(dot)foerster(at)gmail(dot)com>
To: Tim Cross <theophilusx(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Oracle vs. PostgreSQL - a comment
Date: 2020-05-31 15:09:01
Message-ID: C3BEF959-57A4-4C6D-B229-15C598876A33@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Tim,

> On 31. May, 2020, at 15:26, Tim Cross <theophilusx(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2020-05-31 15:10:53 Re: Trigger not firing
Previous Message tony 2020-05-31 15:05:26 pg_dump of database with numerous objects