pgsql: Improve comment in GetNewObjectId().

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Improve comment in GetNewObjectId().
Дата
Msg-id E1fqAgD-0005Ko-0G@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make snprintf.c follow the C99 standard for snprintf's resultva
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Update comment in header of errcodes.txt