Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#38 Not listing databases under Postgres connection

PCG v3.0
open
nobody
5
2005-03-18
2005-03-18
attb2
No

Postgresql server 7.4.3
phpCodeGenie 3.0.2 (Latest Version)

If I connect to postgres database phpCodeGenie don't listing regular
databases only template1.

I found /app/common/database/databaseQuery.class.php line 474:
if (($this->getDatabaseType()=="mysql") || ($this-
>getDatabaseType()=="odbc") || ($this->getDatabaseType()=="ado")
)

Solution:
Missing 'postgres' condition! I've included ($this->getDatabaseType()
=="postgres") in above statement and work perfectly.

Attila

Discussion