fix(jdbc): expose routine parameter metadata

Closes #11045
This commit is contained in:
t8y2 committed 2026-10-04 15:59:11 +00:00
1 parent a90b00e77a
commit 320e37aa42
17 files changed
+781 -15

No files matched your search

+4
View File
@@ -8125,6 +8125,7 @@ async fn get_postgres_schema_object_sources_for_transfer(
schema: Some(schema.to_string()),
source,
editable: None,
routine_parameters: None,
});
}
for row in execute_on_pool(state, pool_key, &routines_sql).await?.rows {
@@ -8144,6 +8145,7 @@ async fn get_postgres_schema_object_sources_for_transfer(
schema: Some(schema.to_string()),
source,
editable: None,
routine_parameters: None,
});
}
@@ -13545,6 +13547,7 @@ CREATE TABLE "Other"."prefix""Source"."NAME" ("ID" INT);"#;
schema: Some("public".into()),
source: "SELECT 1".into(),
editable: None,
routine_parameters: None,
},
db::ObjectSource {
name: "v2".into(),
@@ -13552,6 +13555,7 @@ CREATE TABLE "Other"."prefix""Source"."NAME" ("ID" INT);"#;
schema: Some("public".into()),
source: "SELECT 2".into(),
editable: None,
routine_parameters: None,
},
];
let selection =
+4
View File
@@ -4480,6 +4480,7 @@ done
schema: None,
source: "CREATE EVENT event_daily_sync ON SCHEDULE EVERY 1 DAY DO SELECT 1".to_string(),
editable: None,
routine_parameters: None,
});
assert_eq!(source.editable, Some(false));
@@ -10810,6 +10811,7 @@ async fn get_object_source_once(
schema: if schema.is_empty() { None } else { Some(schema.to_string()) },
source,
editable: None,
routine_parameters: None,
});
}
let result: db::ObjectSource = session
@@ -10868,6 +10870,7 @@ async fn get_object_source_once(
schema: if schema.is_empty() { None } else { Some(schema.to_string()) },
source,
editable: None,
routine_parameters: None,
});
}
None => String::new(),
@@ -10993,6 +10996,7 @@ async fn get_object_source_once(
schema: if schema.is_empty() { None } else { Some(schema.to_string()) },
source,
editable,
routine_parameters: None,
})
}