Class: Flydata::SourcePostgresql::Sync
Instance Method Summary
collapse
inherited
#initialize
Instance Method Details
#data_servers ⇒ Object
19
20
21
|
# File 'lib/flydata/source_postgresql/sync.rb', line 19
def data_servers
de['postgresql_data_entry_preference']['data_servers']
end
|
#forwarder ⇒ Object
23
24
25
|
# File 'lib/flydata/source_postgresql/sync.rb', line 23
def forwarder
de['postgresql_data_entry_preference']['forwarder']
end
|
#setup ⇒ Object
7
8
9
|
# File 'lib/flydata/source_postgresql/sync.rb', line 7
def setup
setup_table_prefs(de['postgresql_data_entry_preference'])
end
|
#supported? ⇒ Boolean
11
12
13
|
# File 'lib/flydata/source_postgresql/sync.rb', line 11
def supported?
true
end
|
#table_lists ⇒ Object
15
16
17
|
# File 'lib/flydata/source_postgresql/sync.rb', line 15
def table_lists
de['postgresql_data_entry_preference'].select {|key, value| %w(tables new_tables invalid_tables tables_append_only).include?(key)}
end
|