From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Alejandro Carrillo <fasterzip(at)yahoo(dot)es>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Read recover rows |
Date: | 2012-12-14 15:42:08 |
Message-ID: | 50CB48D0.4060308@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12/14/2012 07:30 AM, Tom Lane wrote:
> Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> writes:
>> On 12/13/2012 06:51 PM, Alvaro Herrera wrote:
>>> Make sure the server is down and replace a table's file with the file
>>> you have. You can just create a dummy empty table with exactly the same
>>> row type as the one that had the table the file was for; you need to
>>> recreate dropped columns as well.
>
>> So it is possible to slide a file under a table?
>> How exactly do you do that and keep the OID and filenode references in sync?
>
> The XIDs embedded in the tuples would be the big problem.
Well I always figured doing something like this would be equivalent to
rebuilding a car engine while it was running:) I am intrigued by the
possibility though. Just wondering if it has actually been done
successfully.
>
> regards, tom lane
>
>
--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Merlin Moncure | 2012-12-14 15:43:41 | Re: Implicit casts to array types |
Previous Message | Tom Lane | 2012-12-14 15:39:24 | Re: Implicit casts to array types |