-- Fail upon insertion of a NULL ISOK_QUERIES.Type

INSERT INTO isok_queries (
    iqname, error, type, keep
    -- , first_run, last_run
  , role, search_path, query, comment)
  VALUES('query2'
       , false
       , NULL
       , false
       , NULL
       , NULL
       , $$VALUES ('R4', 'Result number 4', NULL)
                , ('R5', 'Result number 5', NULL)
                , ('R6', 'Result number 6', NULL);$$
       , 'No comment'
       );
