pgsql: Doc: improve descriptions of max_[pred_]locks_per_transaction GU

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Doc: improve descriptions of max_[pred_]locks_per_transaction GU
Дата
Msg-id E1pkpu2-001tL7-2A@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Doc: improve descriptions of max_[pred_]locks_per_transaction GUCs.

The old wording described these as being multiplied by max_connections
plus max_prepared_transactions, which hasn't been exactly right for
some time thanks to the addition of various auxiliary processes.
Moreover, exactness here is a bit pointless given that the lock tables
can expand into the initially-unallocated "slop" space in shared
memory.  Rather than trying to track exactly what the code is doing,
let's just use the term "server processes".

Likewise adjust these GUCs' description strings in guc_tables.c.

Wang Wei, reviewed by Nathan Bossart and myself

Discussion: https://postgr.es/m/OS3PR01MB6275BDD09C9B875C65FCC5AB9EA39@OS3PR01MB6275.jpnprd01.prod.outlook.com

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/config.sgml            | 28 +++++++++++++---------------
src/backend/utils/misc/guc_tables.c | 10 +++++-----
2 files changed, 18 insertions(+), 20 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Add array_sample() and array_shuffle() functions.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Catalog NOT NULL constraints