Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: table forma...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 9278 of 9928
Post > Topic >>

Re: table format specification

by heikki@[EMAIL PROTECTED] ("Heikki Linnakangas") Apr 29, 2008 at 02:52 PM

PontoSI - Consultoria, Informática e Serviços LDA wrote:
> I'm writing a small program to recover specific tables from a severely 
> crippled database, and while I'm able to identify most fields on a hex 
> dump of the table file, there are several 'gaps' (probably headers and 
> footers and/or additional info) that I can't identify. Where can I find 
> do***entation regarding the table file layout? I'm working with files 
> generated with Postgres 8.25.

The file itself consists of 8k pages. src/include/storage/bufpage.h and 
src/include/access/htup.h would be a good place to start on 
understanding the page layout. There's also a chapter in the manual 
about it.

You might also want to take a look at the pageinspect contrib module, in 
8.3.

-- 
   Heikki Lin****angas
   EnterpriseDB   http://www.enterprisedb.com

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 3 Posts in Topic:
table format specification
geral@[EMAIL PROTECTED]   2008-04-29 14:19:24 
Re: table format specification
kleptog@[EMAIL PROTECTED]  2008-04-29 15:42:56 
Re: table format specification
heikki@[EMAIL PROTECTED]   2008-04-29 14:52:30 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 18:06:25 CDT 2008.