bug 298 - process DDL_SCRIPT events from the log shipper SQL files
authorSteve Singer <ssinger@ca.afilias.info>
Wed, 3 Jul 2013 20:51:53 +0000 (16:51 -0400)
committerSteve Singer <ssinger@ca.afilias.info>
Wed, 3 Jul 2013 20:51:53 +0000 (16:51 -0400)
tools/slony1_dump.sh

index f07db216a5819e54b7db2a6cff436a2a33c30950..2c249fc36bed86be32554b2ea82bade27c8aaccc 100755 (executable)
@@ -280,7 +280,10 @@ begin
 
                execute v_command;
        end if;
+    if NEW.log_cmdtype = 'S' then
+          execute NEW.log_cmdargs[1];  
 
+    end if;
        if NEW.log_cmdtype = 'T' then
                execute 'TRUNCATE TABLE ONLY ' ||
                        $clname.slon_quote_brute(NEW.log_tablenspname) || '.' ||