feat: TimescaleDB detection + get_hypertables command with graceful unavailable state (Task 4)

This commit is contained in:
2026-09-09 18:08:42 +08:00
parent 45e3327db4
commit 1d0bf38700
5 changed files with 174 additions and 2 deletions
+17
View File
@@ -132,6 +132,23 @@ pub struct ExtensionInfo {
pub comment: Option<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct HypertableInfo {
pub name: String,
pub schema: String,
pub num_dimensions: i64,
pub compression_enabled: bool,
pub num_chunks: i64,
pub total_size_bytes: Option<i64>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct HypertableListResponse {
pub available: bool,
pub reason: Option<String>,
pub items: Vec<HypertableInfo>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ObjectSearchHit {
pub name: String,