diff --git a/src/bin/pg_dump/pg_dump.cpp b/src/bin/pg_dump/pg_dump.cpp index c34587331..25dc27448 100644 --- a/src/bin/pg_dump/pg_dump.cpp +++ b/src/bin/pg_dump/pg_dump.cpp @@ -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;