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\u003eThis page documents the pgxv5 driver for AlloyDB, offering multiple versions for reference, with version 1.15.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe driver is designed to work with the database/sql package and utilizes pgx v5 internally.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRegisterDriver\u003c/code\u003e function allows you to register a Postgres driver that utilizes the \u003ccode\u003ealloydbconn.Dialer\u003c/code\u003e and accepts various configuration options.\u003c/p\u003e\n"],["\u003cp\u003eA cleanup function is provided by \u003ccode\u003eRegisterDriver\u003c/code\u003e and should be executed when the database connection is no longer required.\u003c/p\u003e\n"],["\u003cp\u003eThe package's main information, including older versions, can be accessed on \u003ca href=\"https://pkg.go.dev/cloud.google.com/go/alloydbconn/driver/pgxv5\"\u003epkg.go.dev\u003c/a\u003e.\u003c/p\u003e\n"]]],[],null,[]]