\set ECHO all
\timing
+-- creates an output file for serially deleting users,
+-- makes it easier than finding each problem stopping a batch
+-- creates a stage 2 inbetween 1 and 3
+
\t
\psql format unaligned
\o 16_delete_usrs_stage_2.sql
SELECT 'ALTER TABLE actor.usr ENABLE RULE protect_user_delete;';
\o
+\pset format aligned
+\t
+