summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormartinko2014-02-20 13:40:37 +0000
committermartinko2014-02-20 13:40:37 +0000
commit2a15df391550a3eb49fe2fe4df06ee0600de53d7 (patch)
tree5a98bbf6399583826fb6648b6102877e15b3cbcd
parentf847875a1072e17eb98962260040926c2322228f (diff)
parentbc42418f53130dec044d2d6cad3b3864186a0aeb (diff)
Merge branch 'master' of https://github.com/markokr/skytools into develop
-rw-r--r--python/skytools/dbstruct.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/skytools/dbstruct.py b/python/skytools/dbstruct.py
index cf7b291f..089d2096 100644
--- a/python/skytools/dbstruct.py
+++ b/python/skytools/dbstruct.py
@@ -637,8 +637,9 @@ class TableStruct(BaseStruct):
# load seqs
for col in self.col_list:
if col.seqname:
+ fqname = quote_fqident(col.seqname)
owner = self.fqname + '.' + quote_ident(col.name)
- seq_args = { 'fqname': col.seqname, 'owner': skytools.quote_literal(owner) }
+ seq_args = { 'fqname': fqname, 'owner': skytools.quote_literal(owner) }
self.seq_list += self._load_elem(curs, col.seqname, seq_args, TSeq)
self.object_list += self.seq_list