Re: [HACKERS] file signature for files that make up postgres database

2011-03-04 Thread Alvaro Herrera
Excerpts from Lee Duynslager's message of jue mar 03 19:23:35 -0300 2011: > Hi I am trying to recover a postgres database from a ext3 partition > that the filesystem has become corrupt and lost files. Can anybody > tell me what are the file signatures for the files that comprise a > postgres datab

Re: [HACKERS] file signature for files that make up postgres database

2011-03-03 Thread Tom Lane
Lee Duynslager writes: > Hi I am trying to recover a postgres database from a ext3 partition > that the filesystem has become corrupt and lost files. Can anybody > tell me what are the file signatures for the files that comprise a > postgres database? Look at PageHeaderIsValid in bufpage.c. Tho

[HACKERS] file signature for files that make up postgres database

2011-03-03 Thread Lee Duynslager
Hi I am trying to recover a postgres database from a ext3 partition that the filesystem has become corrupt and lost files. Can anybody tell me what are the file signatures for the files that comprise a postgres database? Anybody know of any tools that can detect and recover postgres files from an