2
0
forked from Wavyzz/dolibarr

Fix: Postgresql compatibility

This commit is contained in:
Laurent Destailleur
2010-11-16 19:12:25 +00:00
parent 244e7251fc
commit e0473cf043

View File

@@ -779,8 +779,8 @@ class DoliDb
'42P01' => 'DB_ERROR_NOSUCHTABLE',
'23503' => 'DB_ERROR_NO_PARENT',
1217 => 'DB_ERROR_CHILD_EXISTS',
1451 => 'DB_ERROR_CHILD_EXISTS'
//'42P04' => 'DB_DATABASE_ALREADY_EXISTS'
1451 => 'DB_ERROR_CHILD_EXISTS',
'42P04' => 'DB_DATABASE_ALREADY_EXISTS'
);
$errorlabel=pg_last_error($this->db);