CDB_RegenerateTable: Remove logs
This commit is contained in:
parent
d3ffcbc97e
commit
7067feb626
@ -65,18 +65,14 @@ BEGIN
|
||||
ON c.relnamespace = ns.oid
|
||||
WHERE c.oid = %L', tableoid) INTO table_name;
|
||||
|
||||
RAISE DEBUG '%', FORMAT('CREATE TEMPORARY TABLE %s ON COMMIT DROP AS SELECT * FROM %s', temp_name, table_name);
|
||||
EXECUTE FORMAT('CREATE TEMPORARY TABLE %s ON COMMIT DROP AS SELECT * FROM %s', temp_name, table_name);
|
||||
RAISE DEBUG '%', FORMAT('DROP TABLE %s', table_name);
|
||||
EXECUTE FORMAT('DROP TABLE %s', table_name);
|
||||
|
||||
FOR i IN 1 .. array_upper(queries, 1)
|
||||
LOOP
|
||||
RAISE DEBUG '% - %', i, queries[i];
|
||||
EXECUTE queries[i];
|
||||
END LOOP;
|
||||
|
||||
RAISE DEBUG '%', FORMAT('INSERT INTO %s SELECT * FROM %I', table_name, temp_name);
|
||||
EXECUTE FORMAT('INSERT INTO %s SELECT * FROM %I', table_name, temp_name);
|
||||
END
|
||||
$$ LANGUAGE PLPGSQL VOLATILE PARALLEL UNSAFE;
|
||||
|
Loading…
Reference in New Issue
Block a user