Problem
Postgres data type handling is currently fragmented, with many complex types falling back to string serialization. Additionally, CDC configuration options are too restrictive for advanced users.
- Complex types (json, jsonb, uuid, etc.) often fall back to string serialization.
- Manual OID mapping is incomplete and hard to maintain.
- Plugin configuration cannot accept custom replication parameters.
Solution
- Refactor type mapping to use structured types instead of strings.
- Use pgtype for automatic OID resolution.
- Expose plugin arguments in CDC driver configuration.