DBD::Pg::st execute failed: ERROR: cannot insert multiple commands into a prepared statement