问题 I have a custom type defined in my database as CREATE TYPE address AS (ip inet, port int); And a table that uses this type in an array: CREATE TABLE my_table ( addresses address[] NULL ) I have a sample CSV file with the following contents {(10.10.10.1,80),(10.10.10.2,443)} {(10.10.10.3,8080),(10.10.10.4,4040)} And I use the following code snippet to perform my COPY: Class.forName("org.postgresql.Driver"); String input = loadCsvFromFile(); Reader reader = new StringReader(input); Connection