pgsql: Fix handling of OID wraparound while in standalone mode.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix handling of OID wraparound while in standalone mode.
Дата
Msg-id E1Ubyd4-0003Hb-7l@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix handling of OID wraparound while in standalone mode.

If OID wraparound should occur while in standalone mode (unlikely but
possible), we want to advance the counter to FirstNormalObjectId not
FirstBootstrapObjectId.  Otherwise, user objects might be created with OIDs
in the system-reserved range.  That isn't immediately harmful but it poses
a risk of conflicts during future pg_upgrade operations.

Noted by Andres Freund.  Back-patch to all supported branches, since all of
them are supported sources for pg_upgrade operations.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e9c336c78638c191642b18628c306d1c1573fb12

Modified Files
--------------
src/backend/access/transam/varsup.c |   18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix handling of strict non-set functions with NULLs in set-value
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix handling of OID wraparound while in standalone mode.