Created
July 17, 2015 13:32
-
-
Save chanmix51/0068b3a0fbd1a8e8e07f to your computer and use it in GitHub Desktop.
Restarting PgTap plan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE OR REPLACE FUNCTION public.restart_plan() | |
RETURNS void | |
LANGUAGE sql | |
AS $function$ | |
truncate table pg_temp_2.__tcache__; | |
alter sequence pg_temp_2.__tresults___numb_seq restart ; | |
alter sequence pg_temp_2.__tcache___id_seq restart ; | |
$function$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment