mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 09:34:10 +02:00
PostgreSQL import support
This commit is contained in:
@@ -148,7 +148,7 @@ if ($_POST && !$error) {
|
||||
foreach ($matches2[1] as $i => $col) {
|
||||
$set[idf_escape($cols[$i])] = ($col == "" && $fields[$cols[$i]]["null"] ? "NULL" : $connection->quote(str_replace('""', '"', preg_replace('~^"|"$~', '', $col))));
|
||||
}
|
||||
$result = insert_update($TABLE, $set);
|
||||
$result = insert_update($TABLE, $set, $indexes);
|
||||
if (!$result) {
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user