Skip to content

Conversation

@andrewmbenton
Copy link
Collaborator

Also fix the invalid test that should have caught this.

Resolves #3065

… pgx

Also fix the invalid test that should have caught this

Resolves #3065

sqlpkg := parseDriver(i.Options.SqlPackage)
if sqlcSliceScan() {
if sqlcSliceScan() && !sqlpkg.IsPGX() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

:( so gross

@kyleconroy kyleconroy merged commit ce95162 into main Dec 20, 2023
@kyleconroy kyleconroy deleted the andrew/fix-golang-bad-strings-import branch December 20, 2023 18:39
alfonsodev pushed a commit to ExponentiaTeam/sqlc that referenced this pull request Oct 13, 2025
… pgx (sqlc-dev#3073)

Also fix the invalid test that should have caught this

Resolves sqlc-dev#3065
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.

sqlc.slice(): Generate code with unused imports

3 participants