pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add is_analyze parameter to vacuum_delay_point().
Date: Tue, 11 Feb 2025 22:39:15 +0000
Message-ID: <E1thyuR-006d9K-39@gemulon.postgresql.org> (raw)

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@gmail.com>
Co-authored-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.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(-)



Message-ID: <E1thyuR-006d9K-39@gemulon.postgresql.org>
Permalink:  ../E1thyuR-006d9K-39@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1thyuR-006d9K-39@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add is_analyze parameter to vacuum_delay_point().
  In-Reply-To: <E1thyuR-006d9K-39@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox