Package: phppgadmin
Version: 5.1+ds-2
Branch: buster (testing)

Hi,

There is a connection problem with postgreslq 10 on buster.

run application on http://localhost/phppgadmin/
Add my credentials, but the applicaction show the next error:

*Version of PostgreSQL not supported. Please upgrade to version or later.*

To fix, I follow the next link

https://stackoverflow.com/questions/46794672/installing-phppgadmin-5-1-on-ubuntu-16-04-with-postgresql-10-not-supported

I change the file:

*/usr/share/phppgadmin/classes/database/Connection.php*

// Detect version and choose appropriate database driver
switch (substr($version,0,3)) {
        *case '10.': // add this line to fix partialy the problem*
        case '9.2': return 'Postgres'; break;
        case '9.1': return 'Postgres91'; break;
        case '9.0': return 'Postgres90'; break;
        case '8.4': return 'Postgres84'; break;
        case '8.3': return 'Postgres83'; break;
        case '8.2': return 'Postgres82'; break;
        case '8.1': return 'Postgres81'; break;
        case '8.0':
        case '7.5': return 'Postgres80'; break;
        case '7.4': return 'Postgres74'; break;
}

Pleace, can you fix the problem in the package?
Thanks a lot.


Ing. Yadickson Soto
+56 9 9668 8798
Usuario Linux #497718
_______________________________________________
Pkg-postgresql-public mailing list
Pkg-postgresql-public@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to