mirror of
https://github.com/vrana/adminer.git
synced 2025-08-16 03:24:01 +02:00
postgresql error with index on hidden columns (ctid)
This commit is contained in:
@@ -352,8 +352,9 @@ focus(document.getElementById('username'));
|
|||||||
echo "var indexColumns = ";
|
echo "var indexColumns = ";
|
||||||
$columns = array();
|
$columns = array();
|
||||||
foreach ($indexes as $index) {
|
foreach ($indexes as $index) {
|
||||||
if ($index["type"] != "FULLTEXT") {
|
$current_key = reset($index["columns"]);
|
||||||
$columns[reset($index["columns"])] = 1;
|
if ($index["type"] != "FULLTEXT" && $current_key) {
|
||||||
|
$columns[$current_key] = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$columns[""] = 1;
|
$columns[""] = 1;
|
||||||
|
Reference in New Issue
Block a user