Trouble w/ COPY command

Поиск
Список
Период
Сортировка
От Wells Oliver
Тема Trouble w/ COPY command
Дата
Msg-id CAOC+FBUmbk9RhTZTFTULBhKMGQcXfhVEqjEeqJ7PChgk3kdLRQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Trouble w/ COPY command
Re: Trouble w/ COPY command
Список pgsql-admin
I have CSV files blowing up because they have double quotes around numeric values: " 1.34" yields ERROR:  invalid input syntax for type numeric: " 1.34"

And occasionally these are empty, and you see invalid syntax for type numeric: " "

Are there flags I can pass to COPY to avoid this? There are properly quoted string values elsewhere in the final, so I'm reticent to strip out double quote characters or anything.

Thank you.

--
Wells Oliver
wellsoliver@gmail.com

В списке pgsql-admin по дате отправления: