From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add is_analyze parameter to vacuum_delay_point(). |
Date: | 2025-02-11 22:39:15 |
Message-ID: | E1thyuR-006d9K-39@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add is_analyze parameter to vacuum_delay_point().
This function is used in both vacuum and analyze code paths, and a
follow-up commit will require distinguishing between the two. This
commit forces callers to specify whether they are in a vacuum or
analyze path, but it does not use that information for anything
yet.
Author: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Co-authored-by: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Discussion: https://postgr.es/m/ZmaXmWDL829fzAVX%40ip-10-97-1-34.eu-west-3.compute.internal
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e5b0b0ce150972bf162a059430d84e5f8e07cf30
Modified Files
--------------
contrib/bloom/blvacuum.c | 4 ++--
contrib/file_fdw/file_fdw.c | 2 +-
src/backend/access/gin/ginfast.c | 6 +++---
src/backend/access/gin/ginvacuum.c | 6 +++---
src/backend/access/gist/gistvacuum.c | 2 +-
src/backend/access/hash/hash.c | 2 +-
src/backend/access/heap/vacuumlazy.c | 4 ++--
src/backend/access/nbtree/nbtree.c | 2 +-
src/backend/access/spgist/spgvacuum.c | 4 ++--
src/backend/commands/analyze.c | 10 +++++-----
src/backend/commands/vacuum.c | 2 +-
src/backend/tsearch/ts_typanalyze.c | 2 +-
src/backend/utils/adt/array_typanalyze.c | 2 +-
src/backend/utils/adt/rangetypes_typanalyze.c | 2 +-
src/include/commands/vacuum.h | 2 +-
15 files changed, 26 insertions(+), 26 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | noreply | 2025-02-12 00:05:03 | pgsql: Tag refs/tags/REL_14_16 was created |
Previous Message | Melanie Plageman | 2025-02-11 21:54:04 | pgsql: Limit pgbench COPY FREEZE to ordinary relations |