Class: Avm::EacPostgresqlBase0::Instance::DataUnit

Inherits:
Instances::Data::Unit
  • Object
show all
Defined in:
lib/avm/eac_postgresql_base0/instance/data_unit.rb

Constant Summary collapse

EXTENSION =
'.pgdump.gz'
SCHEMA_VAR =
'%%SCHEMA%%'
TABLE_PARTS_SEPARATOR =
'/'
TABLES_SQL =
"select schemaname || '#{TABLE_PARTS_SEPARATOR}' || tablename from " \
"pg_tables where schemaname = '#{SCHEMA_VAR}'"

Instance Method Summary collapse

Instance Method Details

#dump_commandObject



17
18
19
# File 'lib/avm/eac_postgresql_base0/instance/data_unit.rb', line 17

def dump_command
  instance.dump_gzip_command
end

#load_commandObject



21
22
23
# File 'lib/avm/eac_postgresql_base0/instance/data_unit.rb', line 21

def load_command
  instance.load_gzip_command
end