qgis/QGIS — pull request #1407 by dbaston (2014-05-29 16:23:57+00:00)
Title: Postgres Provider: avoid overflow from casting index oid to integer

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