---
name: "DBIx::DataSource::Pg"
section: "3pm"
platform: "linux"
package: "libdbix-datasource-perl"
version: "0.02-6"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/DBIx::DataSource::Pg"
---

# DBIx::DataSource::Pg(3pm)

PostgreSQL driver for DBIx::DataSource

## NAME

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

## SYNOPSIS

```
  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

This is the PostgreSQL driver for DBIx::DataSource.

## AUTHOR

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

## COPYRIGHT

Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse Prevention System LLC All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

## BUGS

## SEE ALSO

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