Search Postgresql Archives

Re: Two small questions re/ COPY CSV data into table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "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)





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux