1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 18:14:07 +02:00

postgresql error with index on hidden columns (ctid)

This commit is contained in:
soleuu
2016-08-30 13:23:14 +02:00
committed by Jakub Vrana
parent 36f42d0fda
commit 1a6186648c

View File

@@ -352,8 +352,9 @@ focus(document.getElementById('username'));
echo "var indexColumns = ";
$columns = array();
foreach ($indexes as $index) {
if ($index["type"] != "FULLTEXT") {
$columns[reset($index["columns"])] = 1;
$current_key = reset($index["columns"]);
if ($index["type"] != "FULLTEXT" && $current_key) {
$columns[$current_key] = 1;
}
}
$columns[""] = 1;