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'
TABLES_SQL =
'select tablename from pg_tables where schemaname = \'public\''

Instance Method Summary collapse

Instance Method Details

#dump_commandObject



14
15
16
# File 'lib/avm/eac_postgresql_base0/instance/data_unit.rb', line 14

def dump_command
  instance.dump_gzip_command
end

#load_commandObject



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

def load_command
  instance.load_gzip_command
end