pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org
Subject: Re: Migrating plattaform
Date: Sun, 12 Nov 2017 19:48:27 -0800
Message-ID: <7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.com> (raw)
In-Reply-To: <CAP4ZXHuLmq0WCA8Pw4djh5aDtWH+vkUZqz2tRX9u4Ly+y0f=EA@mail.gmail.com>
References: <CAP4ZXHuLmq0WCA8Pw4djh5aDtWH+vkUZqz2tRX9u4Ly+y0f=EA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 11/8/2017 11:38 AM, Valdir Kageyama wrote:
>
> I need migrated the postgres from Linux on IBM Power to Oracle Linux 
> on SPARC.
>
> My doubt is possible copy the datafiles to new enviorement ? or I need 
> usingĀ  other means of copying the data.
> For exemples: pg_dump/pg_restore.
>

pretty sure you can't copy binary database files between architectures, 
as various data structures have different binary representations.

sure, pg_dumpĀ  -Fc | pg_restore, that works fine across architectures.


-- 
john r pierce, recycling bits in santa cruz



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (4+ messages)

Message-ID: <7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.com>
Permalink:  ../7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.com/
Also on:    postgresql.org/message-id/7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.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: pierce@hogranch.com
  Subject: Re: Migrating plattaform
  In-Reply-To: <7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.com>
  References: <CAP4ZXHuLmq0WCA8Pw4djh5aDtWH+vkUZqz2tRX9u4Ly+y0f=EA@mail.gmail.com> <7f0d5aee-e7f1-495c-a7ea-142faba6d3ec@hogranch.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