XAS::Apps::Database::RemoveData - This module will remove data from a PostgreSQL dump file
use XAS::Apps::Database::RemoveData; my $app = XAS::Database::Base::RemoveData->new(; -throws => 'xas-pg-remove-data', ); exit $app->run();
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.
This modules provides these additional cli options.
Defines the dump file to use.
Kevin L. Esteb, <kevin@kesteb.us>
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.
To install XAS::Model, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS::Model
CPAN shell
perl -MCPAN -e shell install XAS::Model
For more information on module installation, please visit the detailed CPAN module installation guide.