pgsql: Show specific OID suggestion in unused_oids output.

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Show specific OID suggestion in unused_oids output.
Дата
Msg-id E1hui1N-0000Cu-GU@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Show specific OID suggestion in unused_oids output.

Commit a6417078 established a new project policy around OID assignment:
new patches are encouraged to choose a random OID in the 8000..9999
range when a manually-assigned OID is required (if multiple OIDs are
required, a consecutive block of OIDs starting from the random point
should be used).  Catalog entries added by committed patches that use
OIDs from this "unstable" range are renumbered after feature freeze.
This practice minimizes OID collisions among concurrently-developed
patches.

Show a specific random OID suggestion when the unused_oids script is
run.  This makes it easy for patch authors to use a random OID from the
unstable range, per the new policy.

Author: Julien Rouhaud, Peter Geoghegan
Reviewed-By: Tom Lane
Discussion: https://postgr.es/m/CAH2-WzkkRs2ScmuBQ7xWi7xzp7fC1B3w0Nt8X+n4rBw5k+Z=zA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/98eab30b93d52a114bd65e154cda3402d0630667

Modified Files
--------------
src/include/catalog/unused_oids | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Last-minute updates for release notes.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 12beta3.