Not listing databases under Postgres connection
Brought to you by:
nileshd
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