From: | Rich Shepard <rshepard(at)appl-ecosys(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Apparent Problem With NULL in Restoring pg_dump [UPDATE] |
Date: | 2011-09-15 18:41:02 |
Message-ID: | alpine.LNX.2.00.1109151136590.14093@salmo.appl-ecosys.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 15 Sep 2011, Rich Shepard wrote:
> It appears that this error is generated when a row has a missing value in
> the 'quant' column and the column contains '\N' in the text file. For
> example,
>
> \N GW-22 2005-03-09 Depth to Water \N Feet \N
> \N \N \N
Something strange is going on here. I moved the above line from row 47363
(within the COPY block) to row 2. This produced this error:
ERROR: extra data after last expected column
CONTEXT: COPY chemistry, line 2: "\N GW-22 2005-03-09 Depth to
Water \N Feet \N \N \N \N"
I created a blank line just beneath this one and entered the same data on
this new row, ensuring that there are no extra data after column #10. The
results are the same:
ERROR: extra data after last expected column
CONTEXT: COPY chemistry, line 2: "\N GW-22 2005-03-09 Depth to
Water \N Feet \N \N \N \N"
What could possibly be going on here? This row was not modified by me
after running pg_dump on the chemistry table, so why will it not be
restored?
Totally confused,
Rich
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2011-09-15 18:50:23 | Re: Remote connection shows localhost databases |
Previous Message | Rich Shepard | 2011-09-15 17:31:13 | Apparent Problem With NULL in Restoring pg_dump |