Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nexus/server: reject duplicate source tables or duplicate target tables
Not sure how to write tests for this crate, but this updates psql interface to reject CREATE MIRROR m FROM source TO target WITH (s.t1:s.t2, s.t1:s.t3) & CREATE MIRROR m FROM source TO target WITH (s.t1:s.t3, s.t2:s.t3) As this kind of mirror doesn't work today & is support is not prioritized This leaves capability to create these kinds of broken mirrors over grpc open, that should be alright since this change's goal is to fail fast for users to know what's allowed
- Loading branch information