Fix additional tags to work with pgx
Unlike libpq/sqlx, pgx expects JSON/B fields in the copy command to be in the 'native' format, which is a map[string]interface{}, not a string in valid JSON format. Without this change, the copy would fail with "ERROR: unsupported jsonb version number 123".
Showing
+28 -19
Please register or sign in to comment