Sha256: e0b94aeb0f741fa0200373bf3b70ec22628bfb1ce17e0ffe1971f5c623c10260

Contents?: true

Size: 900 Bytes

Versions: 13

Compression:

Stored size: 900 Bytes

Contents

# frozen_string_literal: true

require "json"
require "ougai"

require "pg_online_schema_change/version"
require "pg_online_schema_change/helper"
require "pg_online_schema_change/functions"
require "pg_online_schema_change/client"
require "pg_online_schema_change/query"
require "pg_online_schema_change/store"
require "pg_online_schema_change/replay"
require "pg_online_schema_change/orchestrate"
require "pg_online_schema_change/cli"

module PgOnlineSchemaChange
  class Error < StandardError
  end

  class CountBelowDelta < StandardError
  end

  class AccessExclusiveLockNotAcquired < StandardError
  end

  def self.logger(verbose: false)
    @logger ||=
      begin
        logger = Ougai::Logger.new($stdout)
        logger.level = verbose ? Ougai::Logger::TRACE : Ougai::Logger::INFO
        logger.with_fields = { version: PgOnlineSchemaChange::VERSION }
        logger
      end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
pg_online_schema_change-0.9.10 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.9 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.8 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.7 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.6 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.5 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.4 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.3 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.2 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.1 lib/pg_online_schema_change.rb
pg_online_schema_change-0.9.0 lib/pg_online_schema_change.rb
pg_online_schema_change-0.8.1 lib/pg_online_schema_change.rb
pg_online_schema_change-0.8.0 lib/pg_online_schema_change.rb