{"record":{"id":"2223625f3064785b","repo":"ankane/pgsync","slug":"cannot-resolve-table-value","errorCode":null,"errorMessage":"Cannot resolve table: #{value}","messagePattern":"Cannot resolve table: #(.+?)","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"lib/pgsync/task_resolver.rb","lineNumber":103,"sourceCode":"        }\n      end\n    end\n\n    # treats identifiers as if they were quoted (Users == \"Users\")\n    # this is different from Postgres (Users == \"users\")\n    #\n    # TODO add support for quoted identifiers like \"my.schema\".\"my.table\"\n    # so it's possible to specify identifiers with \".\" in them\n    def to_table(value)\n      parts = value.split(\".\")\n      case parts.size\n      when 1\n        # unknown schema\n        Table.new(nil, parts[0])\n      when 2\n        Table.new(*parts)\n      else\n        raise Error, \"Cannot resolve table: #{value}\"\n      end\n    end\n\n    def default_tasks\n      shared_tables.map do |table|\n        {\n          table: table\n        }\n      end\n    end\n\n    # tables that exists in both source and destination\n    # used when no tables specified, or a wildcard\n    # removes excluded tables and filters by schema\n    def shared_tables\n      tables = filter_tables(source.tables)\n\n      unless opts[:schema_only] || opts[:schema_first]","sourceCodeStart":85,"sourceCodeEnd":121,"githubUrl":"https://github.com/ankane/pgsync/blob/57bdddf5db506d329b51cb3376379dc3a2559010/lib/pgsync/task_resolver.rb#L85-L121","documentation":"Error \"Cannot resolve table: #{value}\" thrown in ankane/pgsync.","triggerScenarios":"Thrown at lib/pgsync/task_resolver.rb:103 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"}