Re: Read recover rows - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Read recover rows
Date
Msg-id 50CB3B90.70307@gmail.com
Whole thread Raw
In response to Re: Read recover rows  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Read recover rows  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 12/13/2012 06:51 PM, Alvaro Herrera wrote:
> Alejandro Carrillo escribió:
>> Hi,
>>
>> 1) Anybody knows how to create a table using a table
>> file? It isn't a fdw, is a file that compose the table in postgresql and
>>   get with the pg_relation_filepath function. Ex:
>>
>>   select pg_relation_filepath('pg_proc');
>
> 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?




--
Adrian Klaver
adrian.klaver@gmail.com


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Problem starting PG-9.2 on non-default port
Next
From: "James B. Byrne"
Date:
Subject: Re: Problem starting PG-9.2 on non-default port