I wrote about this bug but nobody has answered.
[url]TPgSQLStatement error for SetNull function
The bug line is in TPgSQLStatement.cxx in Bool_t TPgSQLStatement::SetNull(Int_t npar) function:
It should be:
P.S. It should write NULL to the database but not “” (empty line). It causes, for example, error if the column defines as ‘timestamp’ type - it tries to write datetime as empty line and the error occurs in PostgreSQL database.