Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#160 postgresql upgrade script error

v_2.3
closed-fixed
nobody
Database (41)
5
2009-10-18
2009-09-14
ksb
No

Hi folks!
2.3rc7
Got error when sepup script upgrades db structure on postgresql db (adding indexes).
Found a buggy line in upgrade.php
CODE:
if(!_pgsql_object_exists('mailbox_username_active')) {
db_query_parsed('CREATE INDEX mailbox_username_active ON $table_mailbox(username,active)');
}
$table_mailbox(username,active) not substituted with value, I think need to use double quotes instead.

Discussion

  • This was fixed by GingerDog in SVN r719 - but obviously he forgot to close this bugreport ;-)

     
    • status: open --> closed-fixed