From: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
---|---|
To: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
Cc: | 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 14:45:36 |
Message-ID: | 50CB3B90.70307@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)klaver(at)gmail(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | James B. Byrne | 2012-12-14 14:48:08 | Re: Problem starting PG-9.2 on non-default port |
Previous Message | Adrian Klaver | 2012-12-14 14:40:22 | Re: Problem starting PG-9.2 on non-default port |