Alzabo...greSQL(3pm)
π Alzabo::Driver::PostgreSQL π
okay bestie, so this one lives in the User Contributed Perl Documentation corner of the manual universe, and it's filed under the very cute, very truncated name Alzabo...greSQL(3pm) because the header couldn't fit the whole thing. iconic honestly.
β¨ NAME β¨
Alzabo::Driver::PostgreSQL β the PostgreSQL-specific Alzabo driver subclass. it's giving "Alzabo but make it Postgres." π
πΈ SYNOPSIS πΈ
use Alzabo::Driver::PostgreSQL;
that's it. that's the whole vibe. π«Ά
π¦ DESCRIPTION π¦
so basically this module hands you some PostgreSQL-specific implementations for the virtual methods that live over in Alzabo::Driver. no cap, that's the entire job description. π
π METHODS π
π connect, create_database, drop_database
on top of all the parameters already listed in the Alzabo::Driver docs (go read those, bestie, they're not optional reading), these three will also accept:
optionstty
that's the bonus content right there. β¨
π schemas
this method takes the exact same parameters as the connect() method. matching set, as it should be. π
π get_last_id
returns the last id created for a sequenced column. that's the whole thing, she's simple and she delivers. π
π identifier_length
returns the maximum identifier length the database will allow.
real talk: this is really a guess based on the server version, because the actual value gets set when the server is compiled. so like, it's an educated guess, not a promise. π
π BUGS π
okay so during testing, the author found some problems using Postgres in a very specific situation: you start the app, connect to the database, get some data, fork, reconnect, and then get more data. π
their suspicion is that this has more to do with the DBD::Pg driver and/or Postgres itself than with Alzabo. and they don't believe this would be a problem for an app that forks before it ever connects to the database (think mod_perl). so like β not Alzabo's fault, probably. π
π AUTHOR π
Dave Rolsky, <autarch@urth.org>
and that's the whole page, bestie!! this absolute gem is documented as part of perl v5.34.0, dated 2022-06-14, under the name Alzabo...greSQL(3pm) β slay, go forth and connect to your database responsibly π
β¨π
π¦ where this page comes from
- debian bookworm: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libalzabo-perl 0.92-6 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libalzabo-perl 0.92-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