This file contains 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 PROCEDURE "public"."archive"("job_id" int4, "config" jsonb) | |
AS $BODY$ | |
DECLARE | |
ht REGCLASS; | |
lag interval; | |
destination name; | |
index_postfix name; | |
chunk_record RECORD; | |
result RECORD; | |
BEGIN |