Search Postgresql Archives

Re: Strange delimiters problem

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

 



hubert depesz lubaczewski wrote:
On 6/3/07, *Andrej Kastrin* <andrej.kastrin@xxxxxxxx <mailto:andrej.kastrin@xxxxxxxx>> wrote:

    ||001||,||Classification||,||Economics||,||N||
    ||001||,||Classification||,||Trends||,||Y||
    etc...


it looks like you should be able to read it using COPY command.
something like:
copy some_table from stdin with delimiter ',' csv quote '||';

depesz
Thanks,
but I receive the following error message when I'm trying to run the proposed copy command:

ERROR:  COPY quote must be a single character

I use PostgreSQL 8.1.5.

Best, Andrej




[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