PostgreSQL: Properly mark ascending index columns
This commit is contained in:
parent
13f34d1ea9
commit
50d2054e36
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue