avoid overflow from casting oid result to integer, causing failure to find name of primary key column
Merge pull request #1407 from dbaston/master

postgres provider: avoid overflow from casting index oid to integer (fixes #9005)