Sha256: 29ff79d8bccf501e4a26a3a917d887b7c45152630b3efb595e2203be0efd91b2

Contents?: true

Size: 879 Bytes

Versions: 8

Compression:

Stored size: 879 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

8 entries across 8 versions & 1 rubygems

Version Path
pg_online_schema_change-0.7.5 lib/pg_online_schema_change.rb
pg_online_schema_change-0.7.4 lib/pg_online_schema_change.rb
pg_online_schema_change-0.7.3 lib/pg_online_schema_change.rb
pg_online_schema_change-0.7.2 lib/pg_online_schema_change.rb
pg_online_schema_change-0.7.1 lib/pg_online_schema_change.rb
pg_online_schema_change-0.7.0 lib/pg_online_schema_change.rb
pg_online_schema_change-0.6.0 lib/pg_online_schema_change.rb
pg_online_schema_change-0.5.0 lib/pg_online_schema_change.rb