X-Original-To: pgsql-admin@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id E0E9C925C8C for ; Thu, 29 May 2003 11:11:34 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 79605-04 for ; Thu, 29 May 2003 11:11:09 -0400 (EDT) Received: from unimm.unisoftbg.com (unknown [194.12.229.207]) by developer.postgresql.org (Postfix) with ESMTP id 712CE925C82 for ; Thu, 29 May 2003 11:11:06 -0400 (EDT) Received: (qmail 13797 invoked by uid 507); 29 May 2003 15:11:26 -0000 Received: from unknown (HELO t1.unisoftbg.com) (pginfo%t1.unisoftbg.com@194.12.229.193) by 0 with SMTP; 29 May 2003 15:11:26 -0000 Message-ID: <3ED613CD.83533B0E@t1.unisoftbg.com> Date: Thu, 29 May 2003 16:06:05 +0200 From: pginfo X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: "'pgsql-admin@postgresql.org'" Subject: URGENT: where to find info about the pg structure Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/404 X-Sequence-Number: 8966 Hi all, I posted today message about pg globals directory corruption. I am using pg 7.3 on linux with reiserfs. My problem is where to find more info about the pg structure. To this moment I created one new db with the same structure as my original. I was able to finf the filename of one from my tables into the new db. Also I have this file from the corrupted system. I stoped the db and make copy over the new file. After bd start I am not able to any data in pg. Pg report: LOG: database system is shut down LOG: database system was shut down at 2003-05-29 17:46:10 EEST LOG: checkpoint record is at 25/2B043768 LOG: redo record is at 25/2B043768; undo record is at 0/0; shutdown TRUE LOG: next transaction id: 4607583; next oid: 52623925 LOG: database system is ready PANIC: read of clog file 4, offset 196608 failed: Success LOG: statement: vacuum full analyze verbose a_nomen; LOG: server process (pid 1455) was terminated by signal 6 LOG: terminating any other active server processes LOG: all server processes terminated; reinitializing shared memory and semaphores LOG: database system was interrupted at 2003-05-29 17:49:18 EEST LOG: checkpoint record is at 25/2B043768 LOG: redo record is at 25/2B043768; undo record is at 0/0; shutdown TRUE LOG: next transaction id: 4607583; next oid: 52623925 LOG: database system was not properly shut down; automatic recovery in progress FATAL: The database system is starting up LOG: ReadRecord: record with zero length at 25/2B0437A8 LOG: redo is not required LOG: database system is ready LOG: smart shutdown request LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2003-05-29 17:49:58 EEST LOG: checkpoint record is at 25/2B0437E8 LOG: redo record is at 25/2B0437E8; undo record is at 0/0; shutdown TRUE LOG: next transaction id: 4607583; next oid: 52623925 LOG: database system is ready Is it possible to replace the files with my "old" files and if yes how? Any idea will help. regards, ivan.