UBERF-8619: Rework backup %hash% usage (#7273)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-12-06 16:30:33 +07:00
committed by GitHub
parent 2b969c74e8
commit f9e3aed4fe
30 changed files with 401 additions and 429 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ BEGIN
EXECUTE format('
ALTER TABLE %I ADD COLUMN "%%hash%%" text;', tbl_name);
EXECUTE format('
UPDATE %I SET "%%hash%%" = data->>''%%data%%'';', tbl_name);
UPDATE %I SET "%%hash%%" = data->>''%%hash%%'';', tbl_name);
END IF;
END LOOP;
END $$;