Re: Restore postgres database problem

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Restore postgres database problem
Дата
Msg-id 20050125213847.GA95908@winnie.fuhr.org
обсуждение исходный текст
Ответ на Restore postgres database problem  (Inpreet Singh <Singh.Inpreet@netsity.com>)
Список pgsql-admin
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/

В списке pgsql-admin по дате отправления:

Предыдущее
От: Inpreet Singh
Дата:
Сообщение: Postgres database access problem
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Postgres database access problem