On Thu, Sep 08, 2005 at 10:32:41AM +0100, Adam Witney wrote: > Unfortunately the pg_filedump you requested gives an error: > > pg_filedump -R 165390 165392 134401986 > > ******************************************************************* > * PostgreSQL File/Block Formatted Dump Utility - Version 3.0 > * > * File: 134401986.1 > * Options used: -R 165390 165392 > * > * Dump created on: Thu Sep 8 10:33:47 2005 > ******************************************************************* > Error: Premature end of file encountered. > > (there is a .1 file also for this table, do I have to stick the two together > or something?) No, rather tell pg_filedump to use the second segment (.1 file) and substract the total number of blocks in the first segment. If my math is right there are 131072 blocks of 8kB per 1GB segment, so to dump block 165390 you need to ask for block 34318 in the second segment: pg_filedump -R 34318 34320 134401986.1 -- Alvaro Herrera -- Valdivia, Chile Architect, www.EnterpriseDB.com "Et put se mouve" (Galileo Galilei)