Skip site navigation (1) Skip section navigation (2)

Re: 8.1.3 pg_restore error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
Cc: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: 8.1.3 pg_restore error
Date: 2006-11-08 19:35:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Saranya Sivakumar <sarlavk(at)yahoo(dot)com> writes:
> pg_restore: [custom archiver] could not read data block -- expected 1, got 0

> This is the restore command in the script file
> pg_restore -e -v -U $USER -d $DBNAME -t $table $data_file 2>> $LOGFILE

Can you put together a small self-contained test case demonstrating this
behavior?  It sounds like a bug to me.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Tom AllisonDate: 2006-11-09 02:08:19
Subject: Moving the database
Previous:From: Saranya SivakumarDate: 2006-11-08 15:31:30
Subject: 8.1.3 pg_restore error

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group