[2nd try] fixes postgres "unknown OID" warnings

references #628