Restore support for PgSQL 9.4 and below master
authorSloane Bernstein <[email protected]>
Tue, 16 Feb 2021 22:19:09 +0000 (16:19 -0600)
committerRobert Treat <[email protected]>
Wed, 17 Feb 2021 07:10:20 +0000 (02:10 -0500)
The addition of support for PostgreSQL 9.6 and above neglected to change the `Postgres94` class to inherit from `Postgres95` instead of the latest `Postgres` class. This change restores the chain of inheritance, so that `Postgres94` and classes below see overridden methods from `Postgres95` and above.

classes/database/Postgres94.php

index 908825e5f18df90fcbb825321509c69ae7d2ab43..913ea044ee9a38d95755a7e7296f874cce3be984 100644 (file)
@@ -5,9 +5,9 @@
  *
  */
 
-include_once('./classes/database/Postgres.php');
+include_once('./classes/database/Postgres95.php');
 
-class Postgres94 extends Postgres {
+class Postgres94 extends Postgres95 {
 
        var $major_version = 9.4;