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

Postgres Provider: avoid overflow from casting index oid to integer #1407

Merged
merged 1 commit into from
Jun 17, 2014

Conversation

dbaston
Copy link
Contributor

@dbaston dbaston commented May 29, 2014

Overflow causes subsequent failure of query to find name of primary key column. Removing the cast is confirmed to resolve issue described on Stack Exchange @ http://gis.stackexchange.com/q/95353

@dbaston
Copy link
Contributor Author

dbaston commented May 30, 2014

This may fix #9005

@mhugent
Copy link
Contributor

mhugent commented Jun 2, 2014

assigned to @jef-n

@dbaston
Copy link
Contributor Author

dbaston commented Jun 17, 2014

Created bug report #10611 to track this specific issue. assigned "high" priority as it renders QGIS essentially inoperable with certain Postgres servers/tables.

jef-n added a commit that referenced this pull request Jun 17, 2014
postgres provider: avoid overflow from casting index oid to integer (fixes #9005)
@jef-n jef-n merged commit 45ebe53 into qgis:master Jun 17, 2014
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.

None yet

3 participants