forked from Wavyzz/dolibarr
Fix: Postgresql compatibility
This commit is contained in:
@@ -779,8 +779,8 @@ class DoliDb
|
|||||||
'42P01' => 'DB_ERROR_NOSUCHTABLE',
|
'42P01' => 'DB_ERROR_NOSUCHTABLE',
|
||||||
'23503' => 'DB_ERROR_NO_PARENT',
|
'23503' => 'DB_ERROR_NO_PARENT',
|
||||||
1217 => 'DB_ERROR_CHILD_EXISTS',
|
1217 => 'DB_ERROR_CHILD_EXISTS',
|
||||||
1451 => 'DB_ERROR_CHILD_EXISTS'
|
1451 => 'DB_ERROR_CHILD_EXISTS',
|
||||||
//'42P04' => 'DB_DATABASE_ALREADY_EXISTS'
|
'42P04' => 'DB_DATABASE_ALREADY_EXISTS'
|
||||||
);
|
);
|
||||||
|
|
||||||
$errorlabel=pg_last_error($this->db);
|
$errorlabel=pg_last_error($this->db);
|
||||||
|
|||||||
Reference in New Issue
Block a user