修复兼容b库下,number类型导出前和导入后类型不一样导致数据不一致的问题
This commit is contained in:
@ -19550,6 +19550,8 @@ static void dumpTableSchema(Archive* fout, TableInfo* tbinfo)
|
||||
if ((tbinfo->reloftype != NULL) && !binary_upgrade) {
|
||||
appendPQExpBuffer(q, "WITH OPTIONS");
|
||||
} else if (fout->remoteVersion >= 70100) {
|
||||
if (isBcompatibility && hasSpecificExtension(fout, "dolphin") && strcmp(tbinfo->atttypnames[j], "numeric") == 0)
|
||||
tbinfo->atttypnames[j] = "number";
|
||||
appendPQExpBuffer(q, "%s", tbinfo->atttypnames[j]);
|
||||
if (has_encrypted_column) {
|
||||
char *encryption_type = NULL;
|
||||
|
||||
Reference in New Issue
Block a user