DBD::Pg::st execute failed: ERROR: null value in column "thread_id" violates not-null constraint insert() - DBD::Pg::st execute failed: ERROR: null value in column "thread_id" violates not-null constraint at test.pl line 32