fix(postgres): include partition children when generating table DDL

This commit is contained in:
Melody Ruch authored and GitHub committed 2026-08-18 13:18:18 +08:00
1 parent f997a8a39b
commit 1345e3f57b
7 files changed
+1993 -98

No files matched your search

@@ -258,10 +258,10 @@ pub(in crate::schema) async fn table_ddl(
}
}
PoolKind::Postgres(p) if config.is_some_and(is_cloudberry_config) => {
super::super::cloudberry_ddl(p, schema, table).await
super::super::cloudberry_ddl(p, schema, table, false).await
}
PoolKind::Postgres(p) if config.is_some_and(db::opentenbase::is_config) => {
super::super::opentenbase_ddl(p, schema, table).await
super::super::opentenbase_ddl(p, schema, table, false).await
}
PoolKind::Postgres(p) => super::super::pg_ddl(p, schema, table).await,
PoolKind::Sqlite(p) => super::super::sqlite_ddl(p, schema, table).await,