From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add option list to CHECKPOINT command. |
Date: | 2025-07-11 16:52:09 |
Message-ID: | E1uaGyn-005mrI-1n@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add option list to CHECKPOINT command.
This commit adds the boilerplate code for supporting a list of
options in CHECKPOINT commands. No actual options are supported
yet, but follow-up commits will add support for MODE and
FLUSH_UNLOGGED. While at it, this commit refactors the code for
executing CHECKPOINT commands to its own function since it's about
to become significantly larger.
Author: Christoph Berg <myon(at)debian(dot)org>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
Discussion: https://postgr.es/m/aDnaKTEf-0dLiEfz%40msg.df7cb.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/a4f126516e688736bfed332b44a0c221b8dc118a
Modified Files
--------------
doc/src/sgml/ref/checkpoint.sgml | 11 ++++++++++-
src/backend/parser/gram.y | 7 +++++++
src/backend/postmaster/checkpointer.c | 31 +++++++++++++++++++++++++++++++
src/backend/tcop/utility.c | 12 +-----------
src/bin/psql/tab-complete.in.c | 3 +++
src/include/nodes/parsenodes.h | 1 +
src/include/postmaster/bgwriter.h | 2 ++
src/test/regress/expected/stats.out | 6 ++++++
src/test/regress/sql/stats.sql | 3 +++
9 files changed, 64 insertions(+), 12 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Jacob Champion | 2025-07-11 17:32:42 | pgsql: oauth: Run Autoconf tests with correct compiler flags |
Previous Message | Tom Lane | 2025-07-11 16:49:26 | pgsql: Force LC_NUMERIC to C while running TAP tests. |