Skip to content

fix(contrib/drivers/gaussdb): remove github.com/lib/pq dependence#4615

Merged
hailaz merged 2 commits intomasterfrom
fix/gaussdb
Jan 16, 2026
Merged

fix(contrib/drivers/gaussdb): remove github.com/lib/pq dependence#4615
hailaz merged 2 commits intomasterfrom
fix/gaussdb

Conversation

@hailaz
Copy link
Contributor

@hailaz hailaz commented Jan 16, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 16, 2026 02:14
@gqcn gqcn changed the title fix(contrib/drivers/gaussdb): rm github.com/lib/pq fix(contrib/drivers/gaussdb): remove github.com/lib/pq dependence Jan 16, 2026
@hailaz hailaz requested a review from gqcn January 16, 2026 02:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the dependency on github.com/lib/pq and fully migrates to the openGauss-specific driver gitee.com/opengauss/openGauss-connector-go-pq. The change ensures the GaussDB driver uses the appropriate database connector.

Changes:

  • Removed github.com/lib/pq dependency from go.mod and go.sum
  • Updated import statement to use aliased openGauss connector
  • Changed SQL driver name from "postgres" to "opengauss"
  • Updated documentation URL to point to openGauss connector

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
contrib/drivers/gaussdb/go.mod Removed github.com/lib/pq v1.10.9 from direct dependencies
contrib/drivers/gaussdb/go.sum Removed checksums for github.com/lib/pq v1.10.9
contrib/drivers/gaussdb/gaussdb_open.go Updated documentation URL and driver name from "postgres" to "opengauss"
contrib/drivers/gaussdb/gaussdb_convert.go Changed import from github.com/lib/pq to aliased gitee.com/opengauss/openGauss-connector-go-pq

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings January 16, 2026 02:37
Copy link
Member

@gqcn gqcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hailaz hailaz merged commit d1cd30c into master Jan 16, 2026
38 checks passed
@hailaz hailaz deleted the fix/gaussdb branch January 16, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants