Postgresql driver for dbix::datasource
use DBIx::DataSource; use DBIx::DataSource qw( create_database drop_database ); create_database( "dbi:Pg:dbname=$dbname", $username, $password ) or warn $DBIx::DataSource::errstr; create_database( "dbi:Pg:dbname=$dbname;host=$host;port=$port", $username, $password ) or warn $DBIx::DataSource::errstr; drop_database( "dbi:Pg:dbname=$dbname", $username, $password ) or warn $DBIx::DataSource::errstr; drop_database( "dbi:Pg:dbname=$dbname;host=$host;port=$port", $username, $password ) or warn $DBIx::DataSource::errstr;
This is the PostgreSQL driver for DBIx::DataSource.
Ivan Kohler <[email protected]>
Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse Prevention System \s-1LLC\s0 All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
DBIx::DataSource::Driver, DBIx::DataSource, DBD::Pg, \s-1DBI\s0