Hi,
Since version 8.1, Postgresql defaults to creating tables without an OID column unless WITH OIDS is specified in CREATE TABLE. This results in an error in Zabbix when creating hosts, items... Error is in db.inc.php, function DBinsert_id.
Attached patch retrieves the last value of the sequence, like it is done for Oracle.
Since version 8.1, Postgresql defaults to creating tables without an OID column unless WITH OIDS is specified in CREATE TABLE. This results in an error in Zabbix when creating hosts, items... Error is in db.inc.php, function DBinsert_id.
Attached patch retrieves the last value of the sequence, like it is done for Oracle.