icinga2/lib/db_ido_pgsql
Michael Friedrich 83e0bcddce IDO: Ensure that the notification insert id is passed to contactnotification inserts
We cannot add the notification insert id directly
to the following contactnotifications queries. Instead
we need to pass a DbValue reference which gets set after
the notification insert id is calculated.
The contactnotifications insert queries are fired as query
group calling CanExecuteQuery() and FieldToEscapedString().
If the notification id does not exist yet, the queries are
moved to the end of the queue.
Once the contactnotifications queries are fired the DbValue
reference is destroyed.

This patch also removes the old notification insert id cache
which was broken in many ways.

fixes #11387
2016-03-29 15:12:24 +02:00
..
schema Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
CMakeLists.txt Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
idopgsqlconnection.cpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-03-29 15:12:24 +02:00
idopgsqlconnection.hpp Update copyright headers for 2016 2016-01-12 08:29:59 +01:00
idopgsqlconnection.ti Update copyright headers for 2016 2016-01-12 08:29:59 +01:00