>>>>> "Matthias" == Matthias Apitz <guru@xxxxxxxxxxx> writes: >> That sounds like the file is not actually a CSV - why do you think >> it is? Matthias> Well, it's not strictly CSV, In other words it's not a CSV at all. Matthias> I do load this now with COPY in mode TEXT and modify the data Matthias> before with: Matthias> sed 's/|/\v/g' < table-from-Sybase | sed 's/\\\v/|/g' > table-for-copy What on earth is this supposed to achieve? -- Andrew (irc:RhodiumToad)