pgsql: Add FLUSH_UNLOGGED option to CHECKPOINT command.

Поиск
Список
Период
Сортировка
Искать

pgsql: Add FLUSH_UNLOGGED option to CHECKPOINT command.

От:
Nathan Bossart <nathan@postgresql.org>
Дата:
Add FLUSH_UNLOGGED option to CHECKPOINT command.

This option, which is disabled by default, can be used to request
the checkpoint also flush dirty buffers of unlogged relations.  As
with the MODE option, the server may consolidate the options for
concurrently requested checkpoints.  For example, if one session
uses (FLUSH_UNLOGGED FALSE) and another uses (FLUSH_UNLOGGED TRUE),
the server may perform one checkpoint with FLUSH_UNLOGGED enabled.

Author: Christoph Berg 
Reviewed-by: Laurenz Albe 
Reviewed-by: Fujii Masao 
Reviewed-by: Dilip Kumar 
Discussion: https://postgr.es/m/aDnaKTEf-0dLiEfz%40msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d33fbacbac93ed70757ea47cd8a4b4fae61528a

Modified Files
--------------
doc/src/sgml/ref/checkpoint.sgml      | 26 ++++++++++++++++++++++++++
src/backend/postmaster/checkpointer.c |  4 ++++
src/bin/psql/tab-complete.in.c        |  2 +-
src/test/regress/expected/stats.out   |  4 ++--
src/test/regress/sql/stats.sql        |  4 ++--
5 files changed, 35 insertions(+), 5 deletions(-)

FAQ