- PostgreSQL: Display auto_increment of inserted rows
- PostgreSQL: Display description of system variables
- PostgreSQL: Avoid warning about crdb_version (bug #924, regression from 5.0.5)
+- CockroachDB: Fix dropping procedure with varchar (cockroachdb/cockroach#142886)
- CSS: Sticky table headers (bug #918)
- CSS: Allow more custom styles with dark mode (bug #925)
- IMAP: New plugin driver created for fun
function routine_id($name, $row) {
$return = array();
foreach ($row["fields"] as $field) {
- $return[] = $field["type"];
+ $length = $field["length"];
+ $return[] = $field["type"] . ($length ? "($length)" : "");
}
return idf_escape($name) . "(" . implode(", ", $return) . ")";
}
if ($_POST && !process_fields($row["fields"]) && !$error) {
$orig = routine($_GET["procedure"], $routine);
$temp_name = "$row[name]_adminer_" . uniqid();
+ foreach ((array) $row["fields"] as $key => $field) {
+ if ($field["field"] == "") {
+ unset($row["fields"][$key]);
+ }
+ }
drop_create(
"DROP $routine " . routine_id($PROCEDURE, $orig),
create_routine($routine, $row),