Re: Read recover rows

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: Read recover rows
Дата
Msg-id 50CA5DD2.6000506@gmail.com
обсуждение исходный текст
Ответ на Read recover rows  (Alejandro Carrillo <fasterzip@yahoo.es>)
Ответы Re: Read recover rows
Список pgsql-general
On 12/13/2012 02:23 PM, Alejandro Carrillo wrote:
> 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');

Not sure what you are asking. The above just returns a file path to the
on disk representation of the table.

Are you looking for

CREATE TABLE AS

http://www.postgresql.org/docs/9.2/interactive/sql-createtableas.html

OR

CREATE TABLE LIKE

http://www.postgresql.org/docs/9.2/interactive/sql-createtable.html

OR

Do want to create a table from a script?

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

Not sure if that is possible, someone else may have a better answer.

>
> Thanks


--
Adrian Klaver
adrian.klaver@gmail.com


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

Предыдущее
От: Alex Burkoff
Дата:
Сообщение: Re: execution plan is wrong, or the query ?
Следующее
От: Alejandro Carrillo
Дата:
Сообщение: Re: Read recover rows