Skip to content

regression in 1.8.0, relation "integer" does not exist #1015

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

Closed
kevinburke1 opened this issue May 13, 2021 · 1 comment
Closed

regression in 1.8.0, relation "integer" does not exist #1015

kevinburke1 opened this issue May 13, 2021 · 1 comment

Comments

@kevinburke1
Copy link
Contributor

The following query to enumerate IP addresses compiles correctly on 1.7.0, but fails on 1.8.0 and tip:

-- name: Test180Regression :many
SELECT (@gw_address::inet) + i
FROM generate_series(0, @end_series::int) AS i
LIMIT 1;
db/query/ips.sql:1:1: relation "integer" does not exist
@kevinburke1 kevinburke1 changed the title regression in 1.8.0 regression in 1.8.0, relation "integer" does not exist May 13, 2021
@kyleconroy
Copy link
Collaborator

Duplicate of #1004

@kyleconroy kyleconroy marked this as a duplicate of #1004 May 16, 2021
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

2 participants