ankane/pgsync · error · Error
Table not found in #{description}: #{table}
Error message
Table not found in #{description}: #{table} What it means
Error "Table not found in #{description}: #{table}" thrown in ankane/pgsync.
Source
Thrown at lib/pgsync/utils.rb:41
log colorize(message, :yellow)
end
def deprecated(message)
warning "[DEPRECATED] #{message}"
end
def output
$stderr
end
def db_config_file(db)
".pgsync-#{db}.yml"
end
def confirm_tables_exist(data_source, tasks, description)
tasks.map(&:table).each do |table|
unless data_source.table_exists?(table)
raise Error, "Table not found in #{description}: #{table}"
end
end
end
def first_schema
@first_schema ||= source.search_path.find { |sp| sp != "pg_catalog" }
end
def task_name(task)
friendly_name(task.table)
end
def friendly_name(table)
if table.schema == first_schema
table.name
else
table.full_name
endView on GitHub (pinned to 57bdddf5db)
When it happens
Trigger: Thrown at lib/pgsync/utils.rb:41 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ankane/pgsync@57bdddf5db (2026-08-23).
Data as JSON: /api/errors/bd80670bb2f82ae1.
Report an issue: GitHub.