From: | Alejandro Carrillo <fasterzip(at)yahoo(dot)es> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Read recover rows |
Date: | 2012-12-13 23:14:06 |
Message-ID: | 1355440446.59906.YahooMailNeo@web172202.mail.ir2.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi,
1) Isn't a script. The file is a table file get using the function pg_relation_filepath:
select pg_relation_filepath('pg_proc');
2) :( help!
>________________________________
> De: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
>Para: Alejandro Carrillo <fasterzip(at)yahoo(dot)es>
>CC: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
>Enviado: Jueves 13 de diciembre de 2012 17:59
>Asunto: Re: [GENERAL] Read recover rows
>
>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(dot)klaver(at)gmail(dot)com
>
>
>--
>Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>To make changes to your subscription:
>http://www.postgresql.org/mailpref/pgsql-general
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2012-12-13 23:23:58 | Re: Read recover rows |
Previous Message | Adrian Klaver | 2012-12-13 22:59:30 | Re: Read recover rows |