From: Klas Stockhem <Klas.Stockhem@benders.se>
To: pgsql-sql@postgresql.org
Subject: Problems when copy data from dump file
Date: Mon, 3 Aug 2009 13:00:53 +0200
Message-ID: <2A250781A3744D48B1529FCC3C2EB8ABCB465E@comserver.benders.se> (raw)
I get an error when I'm trying to fill my table with data. I have a
postgresql dump file and copy-paste the text from the file into my
webbased phppgadmin interface. I have created my tables correctly.
Down here I have post the error message I get. I suppose it's something
with the tab between "5" and the text? I have tried to make both tab and
single space but I get the same error both times.
SQL error:
ERROR: syntax error at or near "5"
LINE 2: 5 Slitasje og vedlikehold PRAKTISKE OPPLYSNINGER\r\n\r\nSn&#...
^
COPY artikkel (id, tittel, tekst) FROM stdin;
5 Slitasje og vedlikehold PRAKTISKE
OPPLYSNINGER\r\n\r\nSnø og is.\r\nSnør...and more text... \.
Does anyone have some tips to an solution?
The postgresql version is 7.4.17.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: Klas.Stockhem@benders.se
Subject: Re: Problems when copy data from dump file
In-Reply-To: <2A250781A3744D48B1529FCC3C2EB8ABCB465E@comserver.benders.se>
* 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