projects
/
skytools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51d66ef
)
londiste copy: fix broken lock table
author
Marko Kreen
<markokr@gmail.com>
Tue, 4 Oct 2011 16:50:22 +0000
(18:50 +0200)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 4 Oct 2011 16:54:42 +0000
(18:54 +0200)
python/londiste/table_copy.py
patch
|
blob
|
blame
|
history
diff --git
a/python/londiste/table_copy.py
b/python/londiste/table_copy.py
index 987e4126214f3d4244bb770acb4b309285c8266e..d7d900c47ba7e9a8c6d739e84107c5b47f118215 100644
(file)
--- a/
python/londiste/table_copy.py
+++ b/
python/londiste/table_copy.py
@@
-103,7
+103,7
@@
class CopyTable(Replicator):
self.drop_fkeys(dst_db, tbl_stat.name)
# now start ddl-dropping tx
- q = "lock table
%
" + skytools.quote_fqident(tbl_stat.name)
+ q = "lock table " + skytools.quote_fqident(tbl_stat.name)
dst_curs.execute(q)
# find dst struct