fix a code bug

This commit is contained in:
lvhui
2022-12-08 17:42:06 +08:00
parent 91cc1afaf5
commit 89eb2eb9cc

View File

@ -2781,7 +2781,7 @@ static char* pg_get_tabledef_worker(Oid tableoid)
}
else {
// get attribute info
actual_atts = get_table_attribute(tableoid, &buf, formatter, ft_frmt_clmn, cnt_ft_frmt_clmns);
actual_atts = get_table_attribute(tableoid, &buf, formatter, ft_frmt_clmn, cnt_ft_frmt_clmns, &tableinfo);
/*
* Fetch the constraint tuple from pg_constraint. There may be more than