]> granicus.if.org Git - postgresql/commit
Improve comment in GetNewObjectId().
authorThomas Munro <tmunro@postgresql.org>
Thu, 16 Aug 2018 05:17:30 +0000 (17:17 +1200)
committerThomas Munro <tmunro@postgresql.org>
Thu, 16 Aug 2018 05:17:30 +0000 (17:17 +1200)
commitca1e64febaf57eb5f3f24340c5bcce5430cad7a5
tree391b1620dcf6c86df73d2971f0b994beeaf9d72f
parentab7dbd681c54d993fc8ebf8a413668fd75a4be0b
Improve comment in GetNewObjectId().

The previous comment gave the impression that skipping OIDs before
FirstNormalObjectId was merely an optimization to avoid likely collisions.
In fact other parts of the system have been relying on this threshold to
detect system-created objects since commit 8e18d04d4da, so adjust the
wording.

Author: Thomas Munro
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/CAEepm%3D33JASACeOayr_W3%3DCSjy2jiPxM-k89axu0akFbHdjnjA%40mail.gmail.com
src/backend/access/transam/varsup.c