-- Setup db content for tests of the functions. -- Delete all the ISOK_RESULTS rows. DELETE FROM isok_results; -- Reset the sequence so what the previous tests did is ignored. SELECT setval('isok_results_irid_seq', 1, FALSE);