{"record":{"id":"bd80670bb2f82ae1","repo":"ankane/pgsync","slug":"table-not-found-in-description-table","errorCode":null,"errorMessage":"Table not found in #{description}: #{table}","messagePattern":"Table not found in #(.+?): #(.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"lib/pgsync/utils.rb","lineNumber":41,"sourceCode":"      log colorize(message, :yellow)\n    end\n\n    def deprecated(message)\n      warning \"[DEPRECATED] #{message}\"\n    end\n\n    def output\n      $stderr\n    end\n\n    def db_config_file(db)\n      \".pgsync-#{db}.yml\"\n    end\n\n    def confirm_tables_exist(data_source, tasks, description)\n      tasks.map(&:table).each do |table|\n        unless data_source.table_exists?(table)\n          raise Error, \"Table not found in #{description}: #{table}\"\n        end\n      end\n    end\n\n    def first_schema\n      @first_schema ||= source.search_path.find { |sp| sp != \"pg_catalog\" }\n    end\n\n    def task_name(task)\n      friendly_name(task.table)\n    end\n\n    def friendly_name(table)\n      if table.schema == first_schema\n        table.name\n      else\n        table.full_name\n      end","sourceCodeStart":23,"sourceCodeEnd":59,"githubUrl":"https://github.com/ankane/pgsync/blob/57bdddf5db506d329b51cb3376379dc3a2559010/lib/pgsync/utils.rb#L23-L59","documentation":"Error \"Table not found in #{description}: #{table}\" thrown in ankane/pgsync.","triggerScenarios":"Thrown at lib/pgsync/utils.rb:41 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"57bdddf5db506d329b51cb3376379dc3a2559010","analyzedAt":"2026-08-23T11:18:48.887Z","schemaVersion":2},"datasetVersion":"2026-08-23T16:17:53.355Z"}