icinga2/lib/db_ido_pgsql
Michael Friedrich 0cbedf495a 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-04-20 10:07:24 +02:00
..
schema Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
CMakeLists.txt Update copyright headers for 2016 2016-01-12 08:31:24 +01:00
idopgsqlconnection.cpp IDO: Ensure that the notification insert id is passed to contactnotification inserts 2016-04-20 10:07:24 +02:00
idopgsqlconnection.hpp Implement additional query statistics for DB IDO 2016-02-23 09:15:16 +01:00
idopgsqlconnection.ti Update copyright headers for 2016 2016-01-12 08:31:24 +01:00