pgsql: Improve comment in GetNewObjectId(). - Mailing list pgsql-committers

From Thomas Munro
Subject pgsql: Improve comment in GetNewObjectId().
Date
Msg-id E1fqAgD-0005Ko-0G@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ca1e64febaf57eb5f3f24340c5bcce5430cad7a5

Modified Files
--------------
src/backend/access/transam/varsup.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Make snprintf.c follow the C99 standard for snprintf's resultva
Next
From: Michael Paquier
Date:
Subject: pgsql: Update comment in header of errcodes.txt