From: Michael Fuhr <mike@fuhr.org>
To: Inpreet Singh <Singh.Inpreet@netsity.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Restore postgres database problem
Date: Tue, 25 Jan 2005 14:38:47 -0700
Message-ID: <20050125213847.GA95908@winnie.fuhr.org> (raw)
In-Reply-To: <006d01c5029a$38fb4e60$3c67a8c0@netsity.com>
References: <006d01c5029a$38fb4e60$3c67a8c0@netsity.com>
On Tue, Jan 25, 2005 at 10:26:25AM +0530, Inpreet Singh wrote:
>
> I am using postgres 7.3.4. I am trying to restore database dump using
> psql command but getting following error.
>
> Taken Dump : /usr/bin/pg_dumpall > /home/inpreet/postgres.sql
> Restoring Dump : su - postgres
> /usr/local/pgsql/bin/psql -d template1 < /home/inpreet/postgres.sql
I see that pg_dumpall and psql are in different directories. Are
they from different versions of PostgreSQL? Are they connecting
to backends running different versions? Which commands and which
backends are running which versions?
> but getting error
> ERROR: copy: line 32, Bad date external representation '\N
> lost synchronization with server, resetting connection
What do the offending line and the line or two preceding it look
like?
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
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: mike@fuhr.org, Singh.Inpreet@netsity.com
Subject: Re: Restore postgres database problem
In-Reply-To: <20050125213847.GA95908@winnie.fuhr.org>
References: <006d01c5029a$38fb4e60$3c67a8c0@netsity.com> <20050125213847.GA95908@winnie.fuhr.org>
* 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