pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make vacuum buffer counters 64 bits wide
Date: Wed, 05 Feb 2020 20:15:34 +0000
Message-ID: <E1izR5C-0004r8-3e@gemulon.postgresql.org> (raw)

Make vacuum buffer counters 64 bits wide

Using 32 bit counters means they can now realistically wrap around when
vacuuming extremely large tables.  Because they're signed integers,
stats printed by vacuum look very odd when they do.

We'd love to backpatch this, but refrain because the variables are
exported and could cause third-party code to break.

Reviewed-by: Julien Rouhaud, Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/20200131205926.GA16367@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/15d13e82911f7cc9f04f0bf419a96fd827fd1a9d

Modified Files
--------------
src/backend/access/heap/vacuumlazy.c | 8 ++++----
src/backend/utils/init/globals.c     | 6 +++---
src/include/miscadmin.h              | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)



Message-ID: <E1izR5C-0004r8-3e@gemulon.postgresql.org>
Permalink:  ../E1izR5C-0004r8-3e@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1izR5C-0004r8-3e@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org
  Subject: Re: pgsql: Make vacuum buffer counters 64 bits wide
  In-Reply-To: <E1izR5C-0004r8-3e@gemulon.postgresql.org>
  References: <E1izR5C-0004r8-3e@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