NAME

XAS::Apps::Database::RemoveData - This module will remove data from a PostgreSQL dump file

SYNOPSIS

use XAS::Apps::Database::RemoveData;

my $app = XAS::Database::Base::RemoveData->new(;
   -throws  => 'xas-pg-remove-data',
);

exit $app->run();

DESCRIPTION

This module will strip the "copy" statements from a PostgreSQL pg_dumpall file. Thus producing a schema that is suitable to rebuild an "empty" database. It inherits from XAS::Lib::App. Please see that module for additional documentation.

OPTIONS

This modules provides these additional cli options.

--file

Defines the dump file to use.

SEE ALSO

XAS::Model
XAS

AUTHOR

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

COPYRIGHT AND LICENSE

Copyright (c) 2012-2015 by Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.