Re: Migration of PGDATA

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Martin Münstermann" <mmuenst(at)gmx(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Migration of PGDATA
Date: 2010-03-29 14:47:45
Message-ID: 12898.1269874065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?iso-8859-1?Q?=22Martin_M=FCnstermann=22?= <mmuenst(at)gmx(dot)de> writes:
> In case it does not work great, what kind of problems would we experience?

In theory pg_control contains enough information to detect such
compatibility problems, so that you'd get a refusal to start.
In practice, maybe not, and the consequences could be arbitrarily
unpleasant. Better keep a pg_dump backup just in case.

One thing I'd particularly caution you to check is that the locale
settings on the new platform are equivalent to those on the old.
We have seen cases where the same locale name produces different
sort orderings on different platforms. That will result in corrupt
(malfunctioning) indexes on text columns.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ramiro Barreca 2010-03-29 14:50:01 Virtualization vs. sharing a server
Previous Message ALEXANDER JOSE 2010-03-29 13:49:36 Re: ERROR: could not open segment 1 of relation 1663/743352/743420 (target block 6407642): No such file or directory