Re: problems transfering databases

From: "Jeff Eckermann" <jeckermann(at)verio(dot)net>
To: "Miroslav Koncar" <miroslav(dot)koncar(at)etk(dot)ericsson(dot)se>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: problems transfering databases
Date: 2001-08-24 14:56:06
Message-ID: 014001c12cac$e71ed880$279c10ac@INTERNAL
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

I think we may be using too many words in this discussion.
Perhaps there is a message in this thread that I have not seen.
Miroslav, have you tested for carriage returns in your data, and if so, what
did you find?
If that is the problem, the carriage returns are easily edited out, and
speculation about the cause may use more time than it is worth...
If that is not the problem, we definitely have something weird.
The original error message shows the problem occurring at the first line of
your data. Perhaps you could pipe the first few lines through some utility
that shows nonprinting characters (like "vis -lw"), and see what that shows?

----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Miroslav Koncar" <miroslav(dot)koncar(at)etk(dot)ericsson(dot)se>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Friday, August 24, 2001 8:13 AM
Subject: Re: [GENERAL] problems transfering databases

> Miroslav Koncar <miroslav(dot)koncar(at)etk(dot)ericsson(dot)se> writes:
> > The only thing I can think of is the PostgreSQL versions. My collegue is
> > using 7.0.3, and I use 7.1.2. Comments?
>
> That wouldn't produce a carriage-return problem.
>
> It's possible that we're barking up the wrong tree, and that the issue
> is not carriage returns but something else --- I just jumped to that
> conclusion based on the way you presented the error message. But maybe
> the error message was mangled because you were sloppy about cutting-and-
> pasting it into your email, or some such. Have you looked at the data
> to try to narrow down exactly which line is being rejected?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rob Arnold 2001-08-24 15:20:24 Re: problems transfering databases
Previous Message Tony Grant 2001-08-24 14:49:03 Re: valid NULL DATE value

Browse pgsql-odbc by date

  From Date Subject
Next Message Kristis Makris 2001-08-24 15:51:26 Re: Error messages not always reported through the ODBC driver -STATEMENT ERROR missing
Previous Message Jeff Eckermann 2001-08-24 14:14:19 Re: problems transfering databases