Menu

#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


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.