Last active
August 20, 2020 08:50
-
-
Save cozingo/fca599c5d2ee2e8d06e08f9f22654685 to your computer and use it in GitHub Desktop.
postgre
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
edit /usr/share/phppgadmin/classes/database/Postgres.php | |
comment this on line 1045: | |
$sql = "SELECT relhasoids FROM pg_catalog.pg_class WHERE relname='{$table}' | |
AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname='{$c_schema}')"; | |
$rs = $this->selectSet($sql); | |
if ($rs->recordCount() != 1) return null; | |
else { | |
$rs->fields['relhasoids'] = $this->phpBool($rs->fields['relhasoids']); | |
return $rs->fields['relhasoids']; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gorails.com/guides/upgrading-postgresql-version-on-ubuntu-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment