RegisterDriver registers a Postgres driver that uses the alloydbconn.Dialer
configured with the provided options. The choice of name is entirely up to
the caller and may be used to distinguish between multiple registrations of
differently configured Dialers. The driver uses pgx/v5 internally.
RegisterDriver returns a cleanup function that should be called one the
database connection is no longer needed.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[[["\u003cp\u003eThe latest version of the AlloyDB driver for pgx v5 is 1.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists available versions of the AlloyDB driver, ranging from the latest 1.15.0 down to 0.1.1, each with a corresponding link to its documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRegisterDriver\u003c/code\u003e function registers a Postgres driver using \u003ccode\u003ealloydbconn.Dialer\u003c/code\u003e and pgx/v5, returning a cleanup function for when the database connection is no longer in use.\u003c/p\u003e\n"],["\u003cp\u003eThis driver package is designed to be used with the database/sql package.\u003c/p\u003e\n"],["\u003cp\u003eFor more information on this package, including older versions, you can visit its page on pkg.go.dev.\u003c/p\u003e\n"]]],[],null,[]]