DBIx::DataSource::Pg - PostgreSQL driver for DBIx::DataSource


DBIx-DataSource documentation  | view source Contained in the DBIx-DataSource distribution.

Index


NAME

Top

DBIx::DataSource::Pg - PostgreSQL driver for DBIx::DataSource

SYNOPSIS

Top

  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;

DESCRIPTION

Top

This is the PostgresSQL driver for DBIx::DataSource.

AUTHOR

Top

Ivan Kohler <ivan-dbix-datasource@420.am>

COPYRIGHT

Top

BUGS

Top

SEE ALSO

Top

DBIx::DataSource::Driver, DBIx::DataSource, DBD::Pg, DBI


DBIx-DataSource documentation  | view source Contained in the DBIx-DataSource distribution.