FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » db_li and a postgres setup on not english language
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
db_li and a postgres setup on not english language [message #24180] Tue, 19 April 2005 11:37 Go to previous message
ngockhoi is currently offline  ngockhoi   United Kingdom
Messages: 15
Registered: July 2003
Location: Paris
Karma:
Junior Member
Hi all,

There's a special mysql keyword "ON DUPLICATE KEY UPDATE" is use and the db_li get a sql_error event :
if (strpos($err, 'duplicate key') !== false) {
$ef = ltrim(strrchr($err, ' '));
return null;
} else {
die(fud_sql_error_handler($q, pg_last_error(fud_sql_lnk), '', get_version()));
}


But Postgresql for any langage (french for me) is not the same error message 'duplicate key'.

Regards,
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Group Permissions inheritance issue
Next Topic: New topic E-mail notification does not work anymore
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 03:41:28 GMT 2024

Total time taken to generate the page: 0.05036 seconds