Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Antman, Jason (CMG-Atlanta)" <Jason(dot)Antman(at)coxinc(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?
Date: 2014-02-15 18:20:41
Message-ID: 26803.1392488441@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Antman, Jason (CMG-Atlanta)" <Jason(dot)Antman(at)coxinc(dot)com> writes:
> Perhaps there's a postgres internals expert around, someone intimitely familiar with pg_xlog/pg_clog/pg_control, who can comment on whether it's possible to take the on-disk files from a single database in a single tablespace, and make them usable by a different postgres server, running multiple databases?

It is not. There's no need for detailed discussion.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2014-02-15 18:22:45 Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?
Previous Message Antman, Jason (CMG-Atlanta) 2014-02-15 18:15:04 Re: Restore postgresql data directory to tablespace on new host? Or swap tablespaces?