ankane/pgsync · error · Error

Group not found: #{group}

Error message

Group not found: #{group}

What it means

Error "Group not found: #{group}" thrown in ankane/pgsync.

Source

Thrown at lib/pgsync/task_resolver.rb:55

      end

      # resolve any tables that need it
      tasks.each do |task|
        task[:table] = fully_resolve(task[:table])
      end

      tasks
    end

    def group?(group)
      @groups.key?(group)
    end

    private

    def group_to_tasks(value)
      group, param = value.split(":", 2)
      raise Error, "Group not found: #{group}" unless group?(group)

      @groups[group].map do |table|
        table_sql = nil
        if table.is_a?(Array)
          table, table_sql = table
        end

        {
          table: to_table(table),
          sql: expand_sql(table_sql, param)
        }
      end
    end

    def table_to_tasks(value)
      raise Error, "Cannot use parameters with tables" if value.include?(":")

      tables =

View on GitHub (pinned to 57bdddf5db)

When it happens

Trigger: Thrown at lib/pgsync/task_resolver.rb:55 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/f27763755be66d33. Report an issue: GitHub.