From: V i s h a l Kashyap @ [Sai Hertz And Control Systems] <sank89@sancharnet.in>
To: Anjan Dave <adave@vantage.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_restore data block error
Date: Thu, 26 Feb 2004 23:41:38 +0530
Message-ID: <403E36DA.3050508@sancharnet.in> (raw)
In-Reply-To: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098028@vt-pe2550-001.vantage.vantage.com>
References: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098028@vt-pe2550-001.vantage.vantage.com>
Dear Anjan Dave ,
> -bash-2.05b$ pg_restore -a -d access backups/access/data.pg
> pg_restore: [custom archiver] could not read data block -- expected
> 4096, got 3608
To me this seems as a error in file format.
Anyways try using the following
pg_restore --disable-triggers -i -a -d access backups/access/data.pg
>
> I am dumping from 7.2.4 (RH8 - RAID5 set) to 7.4.0 (RH9).
use -i switch for restore of data
Kindly shootback it this helps
--
Best Regards,
Vishal Kashyap
Director / Lead Developer,
Sai Hertz And Control Systems Pvt Ltd,
http://saihertz.rediffblogs.com
Jabber IM: vishalkashyap@jabber.org
ICQ : 264360076
-----------------------------------------------
You yourself, as much as anybody in the entire
universe, deserve your love and affection.
- Buddha
---------------
I am usually called by the name Vishal Kashyap
and my Girlfriend calls me Vishal CASH UP.
This is because everyone loves me as Vishal Kashyap
and my Girlfriend loves me as CASH.
___
//\\\
( 0_0 )
----------------o0o-----o0o---------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: sank89@sancharnet.in, adave@vantage.com
Subject: Re: pg_restore data block error
In-Reply-To: <403E36DA.3050508@sancharnet.in>
References: <4BAFBB6B9CC46F41B2AD7D9F4BBAF785098028@vt-pe2550-001.vantage.vantage.com> <403E36DA.3050508@sancharnet.in>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox