supabase / pg_replicate

Build Postgres replication apps in Rust
Apache License 2.0
596 stars 22 forks source link

Replace hard-coded `SinkError` from `BatchSink` (and `Sink`) traits' methods with an associated type #29

Open imor opened 1 month ago

imor commented 1 month ago

The hardcoded SinkError makes it almost impossible to implement new sink implementations outside the pg_replicate crate. The associated type should make that possible.