lib/pgsync/utils.rb in pgsync-0.6.3 vs lib/pgsync/utils.rb in pgsync-0.6.4

- old
+ new

@@ -1,11 +1,12 @@ module PgSync module Utils COLOR_CODES = { red: 31, green: 32, - yellow: 33 + yellow: 33, + cyan: 36 } def log(message = nil) output.puts message end @@ -57,10 +58,10 @@ table.full_name end end def quote_ident_full(ident) - if ident.is_a?(Table) + if ident.is_a?(Table) || ident.is_a?(Sequence) [quote_ident(ident.schema), quote_ident(ident.name)].join(".") else # temp table names are strings quote_ident(ident) end end