Re: [ADMIN] Trouble w/ COPY command

2012-04-14 Thread Tom Lane
Wells Oliver writes: > 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" Is that an exact copy of the error message? Because there are double quotes in that error message's text; what you a

Re: [ADMIN] Trouble w/ COPY command

2012-04-14 Thread Greg Williamson
Wells Oliver asked: > >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

[ADMIN] Trouble w/ COPY command

2012-04-14 Thread Wells Oliver
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 p