From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Alejandro Carrillo <fasterzip(at)yahoo(dot)es> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Read recover rows |
Date: | 2012-12-14 02:51:13 |
Message-ID: | 20121214025113.GA13974@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Haifeng Liu | 2012-12-14 03:29:25 | Fwd: [ADMIN] Confuse about the behaveior of PreparedStatement.executeBatch (jdbc) |
Previous Message | Amitabh Kant | 2012-12-14 02:08:26 | Re: initdb error |