Re: Lost file

Поиск
Список
Период
Сортировка
От Fábio Gibon - Comex System
Тема Re: Lost file
Дата
Msg-id 00f701cb656b$1fa34190$62be62bd@gibon
обсуждение исходный текст
Ответ на Lost file  (Fábio Gibon - Comex System<gibon@comexsystem.com.br>)
Список pgsql-admin
Tks Fabrizio...
         I didn't want believe in this...but... :(
 
         My file exists, but with 0 bytes... the table struture only... when i do "select * ..." is returned all columns but zero tuples...
 
thanks again
Fábio Gibon
 
----- Original Message -----
Sent: Wednesday, October 06, 2010 12:16 PM
Subject: Re: [ADMIN] Lost file



2010/10/6 Fábio Gibon - Comex System <gibon@comexsystem.com.br>
Hi everybody,
        i lost one file in my file system, it's file reference the one user table (table "x")... Are there some option to recover this table? (without any backup and database isn't archive mode).
 
 

Hi Fábio,

If you have no backup I do not see how to recover it, but you can recreate the table (only structure) by querying the system catalog (if it is working of course). 

Use a similar query do see some information about the columns of table:

SELECT * FROM information_schema.columns WHERE table_name = 'x';

To more information about system catalog see [1] and [2].



--
Fabrízio de Royes Mello
>> Blog sobre TI: http://fabriziomello.blogspot.com

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

Предыдущее
От: Fabrízio de Royes Mello
Дата:
Сообщение: Re: Lost file
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: newer release branch