Sha256: 8da79b5fa0198840f624e78d10f1f8ebd992553202a25f32354f71058223a361

Contents?: true

Size: 885 Bytes

Versions: 17

Compression:

Stored size: 885 Bytes

Contents

module Scenic
  module Adapters
    class Postgres
      # Raised when a materialized view operation is attempted on a database
      # version that does not support materialized views.
      #
      # Materialized views are supported on Postgres 9.3 or newer.
      class MaterializedViewsNotSupportedError < StandardError
        def initialize
          super("Materialized views require Postgres 9.3 or newer")
        end
      end

      # Raised when attempting a concurrent materialized view refresh on a
      # database version that does not support that.
      #
      # Concurrent materialized view refreshes are supported on Postgres 9.4 or
      # newer.
      class ConcurrentRefreshesNotSupportedError < StandardError
        def initialize
          super("Concurrent materialized view refreshes require Postgres 9.4 or newer")
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
scenic-1.8.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.7.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.6.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.5.5 lib/scenic/adapters/postgres/errors.rb
scenic-jets-1.5.5 lib/scenic/adapters/postgres/errors.rb
scenic-jets-1.5.4 lib/scenic/adapters/postgres/errors.rb
scenic-1.5.4 lib/scenic/adapters/postgres/errors.rb
scenic-1.5.3 lib/scenic/adapters/postgres/errors.rb
scenic-1.5.2 lib/scenic/adapters/postgres/errors.rb
scenic-1.5.1 lib/scenic/adapters/postgres/errors.rb
scenic-1.5.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.4.1 lib/scenic/adapters/postgres/errors.rb
scenic-1.4.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.3.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.2.0 lib/scenic/adapters/postgres/errors.rb
scenic-1.1.1 lib/scenic/adapters/postgres/errors.rb
scenic-1.1.0 lib/scenic/adapters/postgres/errors.rb