summaryrefslogtreecommitdiff
path: root/python/skytools/dbstruct.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/skytools/dbstruct.py')
-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