NAME

XAS::Apps::Base::RemoveData - This module will remove data from a postgres dump file

SYNOPSIS

use XAS::Apps::Base::RemoveData;

my $app = XAS::Apps::Base::RemoveData->new(;
   -throws  => 'pg_remove_data',
   -options => [
       {'file=s' => ''},
   ]
);

exit $app->run();

DESCRIPTION

This module will strip the "copy" statements from a postgres pg_dumpall file. Thus producing a schema that is suitable to rebuild an "empty" database.

CONFIGURATION

The following parameters are used to configure the module.

-options

Defines the command line options for this module.

'files=s'

Defines the dump file to use.

SEE ALSO

pg_extract_data.pl
pg_remove_data.pl
pg_extract_global.pl

XAS::Lib::App

XAS::Apps::Base::ExtractData
XAS::Apps::Base::ExtractGlobals

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (C) 2012 by Kevin L. Esteb

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.