I am still new at databases and PHP programming but I am trying to
figure out what all needs to be changed to support postgresql and I have
the following question.
On line 769 of the file core/Database.php in version 9.3.1 it has the
statement $sql = "ALTER TABLE $table_name ADD INDEX (" . implode(", ",
$columns) . ")";
How can this be rewritten to use Postgresql's CREATE INDEX ... ON
statement?
Thanks,
David
|