mirror of
https://github.com/vrana/adminer.git
synced 2025-08-25 07:20:56 +02:00
Fix detecting oid column in PDO_PGSQL
This commit is contained in:
@@ -5,7 +5,7 @@ $indexes = indexes($TABLE);
|
||||
$fields = fields($TABLE);
|
||||
$foreign_keys = column_foreign_keys($TABLE);
|
||||
$oid = "";
|
||||
if ($table_status["Oid"] == "t") {
|
||||
if ($table_status["Oid"]) {
|
||||
$oid = ($jush == "sqlite" ? "rowid" : "oid");
|
||||
$indexes[] = array("type" => "PRIMARY", "columns" => array($oid));
|
||||
}
|
||||
|
Reference in New Issue
Block a user