pgsql: Add FLUSH_UNLOGGED option to CHECKPOINT command. - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Add FLUSH_UNLOGGED option to CHECKPOINT command.
Date
Msg-id E1uaGyn-005mrN-1u@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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 <myon@debian.org>
Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>
Reviewed-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Reviewed-by: Dilip Kumar <dilipbalaut@gmail.com>
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Force LC_NUMERIC to C while running TAP tests.
Next
From: Jacob Champion
Date:
Subject: pgsql: oauth: Run Autoconf tests with correct compiler flags