Re: Read recover rows

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Read recover rows
Дата
Msg-id 20121214025113.GA13974@alvh.no-ip.org
обсуждение исходный текст
Ответ на Read recover rows  (Alejandro Carrillo <fasterzip@yahoo.es>)
Ответы Re: Read recover rows
Re: Read recover rows
Список pgsql-general
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.

> 2) Anybody knows a JDBC or a multiplatform code that let read the delete rows of a table without writing of a table
file?

You already tried pg_dirtyread, I imagine, after I suggested it to you
in the spanish list?  You can use it through JDBC.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-general по дате отправления:

Предыдущее
От: Amitabh Kant
Дата:
Сообщение: Re: initdb error
Следующее
От: "ac@hsk.hk"
Дата:
Сообщение: PostgreSQL contrib 9.2.x