DataSource::Pg(3pm)
π NAME π
DBIx::DataSource::Pg β it's the PostgreSQL driver for DBIx::DataSource, bestie. That's the whole job description and she does it flawlessly π
β¨ SYNOPSIS β¨
okay so here's the vibe β you pull in the module, and then you can spin up or yeet databases like it's nothing:
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;
not the or warn $DBIx::DataSource::errstr; doing the absolute most in every single one of those calls π she said "if it flops, at least tell me why" and honestly? iconic. periodt.
πΈ DESCRIPTION πΈ
so like. this is the PostgreSQL driver for DBIx::DataSource. that's it, that's the tweet π¦β¨ she shows up, she handles the Postgres side of the whole create-a-database / drop-a-database situation, and she does not elaborate further. main character energy, minimal exposition. we respect it π«Ά
π AUTHOR π
this masterpiece was brought to you by Ivan Kohler β hit him up at <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. so like, go off, remix it, redistribute it, do your thing β just keep it Perl-flavored, iykyk π
π BUGS π
okay so... there's literally nothing here. no bugs listed. zero. the section exists and it's empty and honestly that's the most confident thing i've ever seen. not a single bug to report, we stay winning π β¨
π₯ SEE ALSO π₯
the whole friend group, go say hi:
DBIx::DataSource::DriverDBIx::DataSourceDBD::PgDBI
and that's the whole page, bestie!! this one's from perl v5.34.0, dated 2022-06-13, and it lives in the DataSource::Pg(3pm) chapter of your friendly neighborhood manual π¦β¨ go create (and responsibly drop) some databases, mwah ππ
π¦ where this page comes from
- debian bookworm: libdbix-datasource-perl 0.02-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libdbix-datasource-perl 0.02-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libdbix-datasource-perl 0.02-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libdbix-datasource-perl 0.02-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdbix-datasource-perl 0.02-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms