projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f507abd
)
bug 298 - process DDL_SCRIPT events from the log shipper SQL files
author
Steve Singer
<ssinger@ca.afilias.info>
Wed, 3 Jul 2013 20:51:53 +0000
(16:51 -0400)
committer
Steve Singer
<ssinger@ca.afilias.info>
Wed, 3 Jul 2013 20:51:53 +0000
(16:51 -0400)
tools/slony1_dump.sh
patch
|
blob
|
blame
|
history
diff --git
a/tools/slony1_dump.sh
b/tools/slony1_dump.sh
index f07db216a5819e54b7db2a6cff436a2a33c30950..2c249fc36bed86be32554b2ea82bade27c8aaccc 100755
(executable)
--- a/
tools/slony1_dump.sh
+++ b/
tools/slony1_dump.sh
@@
-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) || '.' ||