diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-07-11 11:51:25 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-07-11 11:51:25 -0500 |
commit | a4f126516e688736bfed332b44a0c221b8dc118a (patch) | |
tree | b921beb43ae0acd7a8ce510896e2c6d1b06fd831 /src/include/nodes | |
parent | bb938e2c3c7a955090f8b68b5bf75d064f6a36a0 (diff) | |
download | postgresql-a4f126516e688736bfed332b44a0c221b8dc118a.tar.gz postgresql-a4f126516e688736bfed332b44a0c221b8dc118a.zip |
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@debian.org>
Reviewed-by: Fujii Masao <masao.fujii@oss.nttdata.com>
Discussion: https://postgr.es/m/aDnaKTEf-0dLiEfz%40msg.df7cb.de
Diffstat (limited to 'src/include/nodes')
-rw-r--r-- | src/include/nodes/parsenodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 28e2e8dc0fd..86a236bd58b 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -4047,6 +4047,7 @@ typedef struct RefreshMatViewStmt typedef struct CheckPointStmt { NodeTag type; + List *options; /* list of DefElem nodes */ } CheckPointStmt; /* ---------------------- |