Search Postgresql Archives

Re: csv copy error

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

 



On Thursday, December 30th, 2021 at 7:30 AM, Guillaume Lelarge <guillaume@xxxxxxxxxxxx> wrote:

> Hi,
>
> Le mer. 29 déc. 2021 à 22:08, ourdiaspora <ourdiaspora@xxxxxxxxxxxxxx> a écrit :
>
> >
> > \copy exampletable from '/local/path/to/examplefile.csv';
> >
>
> You should tell the CSV command you're using a CSV file. By default, COPY thinks it's a TSV file.
>

Problem solved with:

"
...file.csv' with csv;
"

Thanks to all.







[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 Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux