PostgreSQL: Properly mark ascending index columns

This commit is contained in:
Jakub Vrana 2013-06-25 15:01:38 -07:00
parent 13f34d1ea9
commit 50d2054e36

View file

@ -277,7 +277,7 @@ ORDER BY a.attnum"
}
$return[$relname]["descs"] = array();
foreach (explode(" ", $row["indoption"]) as $indoption) {
$return[$relname]["descs"][] = ($indoption ? '1' : null); //! check what the bits mean
$return[$relname]["descs"][] = ($indoption & 1 ? '1' : null); // 1 - INDOPTION_DESC
}
$return[$relname]["lengths"] = array();
}