Skip to content

Conversation

@viragtripathi
Copy link

Added CockroachDB as a supported peer type following the same pattern as other database types (ClickHouse, Elasticsearch, etc.). This enables PeerDB integration with CockroachDB.

Changes

  • Added COCKROACHDB keyword to src/keywords.rs
  • Added CockroachDB variant to PeerType enum in src/ast/mod.rs
  • Updated Display impl for PeerType
  • Updated parse_peer_type function in src/parser/mod.rs

Testing

  • All existing tests pass
  • Code formatted with cargo fmt

Added CockroachDB as a supported peer type following the same pattern as other database types (ClickHouse, Elasticsearch, etc.). This enables PeerDB integration with CockroachDB.
@viragtripathi viragtripathi force-pushed the add-cockroachdb-peertype branch from 8b375d5 to 2531bc7 Compare January 21, 2026 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant