Package cloud.google.com/go/cloudsqlconn/postgres/pgxv4 (v1.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
Package pgxv4 provides a Cloud SQL Postgres driver that uses pgx v4 and works
with the database/sql package.
Deprecated: pgxv4 is no longer maintained because pgproto3 has reached end-of-life.
This package has been rewired to use pgxv5 internally for security reasons.
Please use pgxv5 directly instead.
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 now uses pgx/v5 internally.
RegisterDriver returns a cleanup function that should be called one the
database connection is no longer needed.
Deprecated: pgxv4 is no longer maintained because pgproto3 has reached end-of-life.
This function now uses pgxv5 internally for security reasons.
Please use pgxv5.RegisterDriver instead.
[[["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 2026-04-24 UTC."],[],[]]