RegisterDriver registers a Postgres driver that uses the cloudsqlconn.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 webpage provides documentation for various versions of the \u003ccode\u003ecloudsqlconn\u003c/code\u003e package, specifically for Postgres using pgx v5, with version 1.16.0 being the latest release.\u003c/p\u003e\n"],["\u003cp\u003eThe package includes the \u003ccode\u003eRegisterDriver\u003c/code\u003e function, which allows registration of a Postgres driver with customizable options using the \u003ccode\u003ecloudsqlconn.Dialer\u003c/code\u003e, and returns a cleanup function.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003epgxv5\u003c/code\u003e package integrates with the database/sql package.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access older versions and additional information about the package via a link to its listing on pkg.go.dev.\u003c/p\u003e\n"]]],[],null,[]]