Fix: Removed the FIXME. This is supported by the pgsql driver.

This commit is contained in:
Laurent Destailleur
2012-10-09 12:03:39 +02:00
parent 4413613d14
commit 8b4886073c
2 changed files with 14 additions and 16 deletions

View File

@@ -296,7 +296,8 @@ class DoliDBPgsql
// To have postgresql case sensitive
$line=str_replace(' LIKE \'',' ILIKE \'',$line);
$line=str_replace(' LIKE BINARY \'',' LIKE \'',$line);
// Delete using criteria on other table must not declare twice the deleted table
// DELETE FROM tabletodelete USING tabletodelete, othertable -> DELETE FROM tabletodelete USING othertable
if (preg_match('/DELETE FROM ([a-z_]+) USING ([a-z_]+), ([a-z_]+)/i',$line,$reg))