nap wrote:
What do you call a clear upset logic? Is what I try to explain in the
other mail is so?
UPSERT - try an insert, wait for a unique constraint violation
exception, catch it, do an update instead.
see https://dev.icinga.org/issues/146 for more ideas.
Jean
On Tue, Jan 18, 2011 at 6:43 PM, Michael Friedrich
<michael.friedr...@univie.ac.at
<mailto:michael.friedr...@univie.ac.at>> wrote:
On 17.01.2011 17:24, Tanguy von Stebut wrote:
> Lemme tell you... If it happens again ;)
in order to resolve such things, a clear upsert logic would fit best.
i have that on my todo list for icinga idoutils (possibly 1.4 in may),
so maybe you'll just need the same then ;-)
kind regards,
Michael
>[...]
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedr...@univie.ac.at
phone: +43 1 4277 14359
fax: +43 1 4277 14338
web: http://www.univie.ac.at/zid
http://www.aco.net
Icinga Core& IDOUtils Developer
http://www.icinga.org
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel