Re: ERROR: extra data after last expected column - Mailing list pgsql-sql

From Rob Sargent
Subject Re: ERROR: extra data after last expected column
Date
Msg-id 1101975f-ef74-3634-14c4-b7ee624139ea@gmail.com
Whole thread Raw
In response to ERROR: extra data after last expected column  (Scott Macri <Scott@BITSnBYTES.io>)
Responses Re: ERROR: extra data after last expected column
List pgsql-sql
On 3/7/22 18:51, Scott Macri wrote:
> It looks like it might have something to do with the line length.  All
> the output from the AWK command are a continuation of the line above
> it.  There is no line break, however.  I'm investigating now.
>
>
> So I guess when I ran:
> awk -F "|" '{if (NF != 25) print}'
> the first time it was against the wrong file.  I just tried again and
> it produced a bunch of output.  So this is telling me there are extra
> '|' in those lines?
>
> -- Hacktorious

Can't tell for sure but could be mac/dos/unix EOLN mixup. Some tools are 
better than others in dealing with a mixture of those.





pgsql-sql by date:

Previous
From: Scott Macri
Date:
Subject: Re: ERROR: extra data after last expected column
Next
From: scott macri
Date:
Subject: Re: ERROR: extra data after last expected column