I am working on system tables and at some point I need to get the "oid" value from pg_class table. I noticed that when I try to get this field for records with too high value, I don't get the value but 2147483647 = 2 ** 31 - 1.
For example if I try to get the max(oid) from pg_class which is 4169345710, I get 2147483647.
Can somebody help on this?
Thank you very much,