1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-08 07:36:44 +02:00
This commit is contained in:
Jakub Vrana
2025-03-03 15:43:04 +01:00
parent 17939b56c4
commit af87336116

View File

@@ -58,6 +58,7 @@ SET foreign_key_checks = 0;
if ($enums) {
$out .= ($style != 'DROP+CREATE' ? "DROP TYPE IF EXISTS " . idf_escape($type) . ";;\n" : "") . "CREATE TYPE " . idf_escape($type) . " AS ENUM ($enums);\n\n";
} else {
//! https://github.com/postgres/postgres/blob/REL_17_4/src/bin/pg_dump/pg_dump.c#L10846
$out .= "-- Could not export type $type\n\n";
}
}