Sha256: 4bed069a3ccd8d9ce77e6b6ce5b6bff5e3b2954872cf94d013a6b725b085ba6c

Contents?: true

Size: 547 Bytes

Versions: 17

Compression:

Stored size: 547 Bytes

Contents

require 'flydata/source/sync'

module Flydata
module SourcePostgresql

class Sync < Source::Sync
  def setup
    setup_table_prefs(de['postgresql_data_entry_preference'])
  end

  def supported?
    true
  end

  def table_lists
    de['postgresql_data_entry_preference'].select {|key, value| %w(tables new_tables invalid_tables tables_append_only).include?(key)}
  end

  def data_servers
    de['postgresql_data_entry_preference']['data_servers']
  end

  def forwarder
    de['postgresql_data_entry_preference']['forwarder']
  end
end

end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
flydata-0.7.6 lib/flydata/source_postgresql/sync.rb
flydata-0.7.5 lib/flydata/source_postgresql/sync.rb
flydata-0.7.4 lib/flydata/source_postgresql/sync.rb
flydata-0.7.2.1 lib/flydata/source_postgresql/sync.rb
flydata-0.7.2 lib/flydata/source_postgresql/sync.rb
flydata-0.7.1 lib/flydata/source_postgresql/sync.rb
flydata-0.7.0 lib/flydata/source_postgresql/sync.rb
flydata-0.6.14 lib/flydata/source_postgresql/sync.rb
flydata-0.6.13 lib/flydata/source_postgresql/sync.rb
flydata-0.6.12 lib/flydata/source_postgresql/sync.rb
flydata-0.6.11 lib/flydata/source_postgresql/sync.rb
flydata-0.6.10 lib/flydata/source_postgresql/sync.rb
flydata-0.6.9 lib/flydata/source_postgresql/sync.rb
flydata-0.6.8 lib/flydata/source_postgresql/sync.rb
flydata-0.6.7 lib/flydata/source_postgresql/sync.rb
flydata-0.6.6 lib/flydata/source_postgresql/sync.rb
flydata-0.6.5 lib/flydata/source_postgresql/sync.rb