2008-11-17, 02:17 PM
(This post was last modified: 2008-11-17, 02:21 PM by Chris W. B..)
On a forum that is running PostgreSQL, the optimize table tool doesn't work in the Admin CP.
To reproduce the error, follow the steps below:
1. Admin CP > 'Tools & Maintenance' Tab > Optimize Database (Left Menu)
2. Click "Select All" in the Table Selection area
3. Click "Optimize Selected Tables"
The following error is returned:
PostgreSQL 8.3.4
PHP 5.2.6
MyBB 1.4.3
To reproduce the error, follow the steps below:
1. Admin CP > 'Tools & Maintenance' Tab > Optimize Database (Left Menu)
2. Click "Select All" in the Table Selection area
3. Click "Optimize Selected Tables"
The following error is returned:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
42601 - ERROR: syntax error at or near "TABLE" LINE 1: ANALYZE TABLE trunk_settinggroups ^
Query:
ANALYZE TABLE trunk_settinggroups
PostgreSQL 8.3.4
PHP 5.2.6
MyBB 1.4.3