Icinga / icinga2

The core of our monitoring platform with a powerful configuration language and REST API.
https://icinga.com/docs/icinga2/latest
GNU General Public License v2.0
1.98k stars 571 forks source link

IdoPgsqlConnection#FieldToEscapedString(): write out of range time as NULL #10058

Open Al2Klimov opened 1 month ago

Al2Klimov commented 1 month ago

just like in MySQL. Except MySQL's FROM_UNIXTIME() does that implicitly. In contrast, Postgres' TO_TIMESTAMP() fails, so WE have to handle it.

ref/IP/53323

Al2Klimov commented 1 month ago

PING @sciolto

Al2Klimov commented 1 month ago

Same schemes are a must.

– @lippserd https://github.com/Icinga/icingadb/pull/221#discussion_r756088881