I've been given some CSV data I need to load into a PostgreSQL table with the following format:
7227, {text with, commas}, 10.0, 3.0, text with no commas
I want my table rows to appear as:
7227 | text with, commas | 10.0 | 3.0 | text with no commas
How can I use COPY and get it to ignore commas between the brackets?
I'm trying to avoid pre-processing the file, although that is an option.