Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in the v1.5.0 release #72

Closed
georgysavva opened this issue Oct 21, 2020 · 2 comments
Closed

Regression in the v1.5.0 release #72

georgysavva opened this issue Oct 21, 2020 · 2 comments

Comments

@georgysavva
Copy link
Contributor

Hi. There is a regression in v1.5.0 compared to v1.4.2
Here is the case:

var dst *[]string
err = db.QueryRow(ctx, `SELECT ARRAY('foo val', 'foo val 2', 'foo val 3')`).Scan(&dst)

This returns an error:

can't scan into dest[0]: incorrect dimensions, expected 1, found 0

In v1.4.2 the above operation was successful.
I guess it might be related to this change: #51

@PaulForgey
Copy link

I think both of us found this - I've reported issue #69

@jackc
Copy link
Owner

jackc commented Oct 24, 2020

I think both of us found this - I've reported issue #69

Correct. This is the same issue. I'll respond on #69.

@jackc jackc closed this as completed Oct 24, 2020
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

No branches or pull requests

3 participants