Deepak S <[email protected]> writes:
> I wish to know if it is safe to assume that non user created tables always
> have a relid of less than 10,000 (I chose this value after trial and error).
Depends what you consider "user created". System catalogs with
manually-assigned OIDs will have OIDs below 10K, but initdb creates
numerous things that don't have manually-assigned OIDs. And what of,
say, TOAST tables attached to user tables?
You might find the comments for FirstNormalObjectId in
src/include/access/transam.h enlightening.
regards, tom lane
--
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers