pgsql: Use larger segment file names for pg_notify

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Use larger segment file names for pg_notify
Дата
Msg-id E1r888r-007jQ1-Tf@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use larger segment file names for pg_notify

This avoids the wraparound in async.c and removes the corresponding code
complexity. The maximum amount of allocated SLRU pages for NOTIFY / LISTEN
queue is now determined by the max_notify_queue_pages GUC. The default
value is 1048576. It allows to consume up to 8 GB of disk space which is
exactly the limit we had previously.

Author: Maxim Orlov, Aleksander Alekseev, Alexander Korotkov, Teodor Sigaev
Author: Nikita Glukhov, Pavel Borisov, Yura Sokolov
Reviewed-by: Jacob Champion, Heikki Linnakangas, Alexander Korotkov
Reviewed-by: Japin Li, Pavel Borisov, Tom Lane, Peter Eisentraut, Andres Freund
Reviewed-by: Andrey Borodin, Dilip Kumar, Aleksander Alekseev
Discussion: https://postgr.es/m/CACG%3DezZe1NQSCnfHOr78AtAZxJZeCvxrts0ygrxYwe%3DpyyjVWA%40mail.gmail.com
Discussion: https://postgr.es/m/CAJ7c6TPDOYBYrnCAeyndkBktO0WG2xSdYduTF0nxq%2BvfkmTF5Q%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2cdf131c46e631addfc386f6106e52a1b8cc3a70

Modified Files
--------------
doc/src/sgml/config.sgml                      |  16 ++++
doc/src/sgml/ref/listen.sgml                  |   1 +
doc/src/sgml/ref/notify.sgml                  |   1 +
src/backend/commands/async.c                  | 122 +++++++-------------------
src/backend/utils/misc/guc_tables.c           |  10 +++
src/backend/utils/misc/postgresql.conf.sample |   3 +
src/include/commands/async.h                  |   1 +
7 files changed, 62 insertions(+), 92 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up usage of bison precedence for non-operator keywords.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: meson: docs: Add {html,man} targets, rename install-doc-*