From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pgstattuple: Have pgstattuple_approx accept TOAST tables
Date: Mon, 29 Jun 2020 23:13:05 +0000
Message-ID: <E1jq2xV-0003F0-Io@gemulon.postgresql.org> (raw)
pgstattuple: Have pgstattuple_approx accept TOAST tables
TOAST tables have a visibility map and a free space map, so they can
be supported by pgstattuple_approx just fine.
Add test cases to show how various pgstattuple functions accept TOAST
tables. Also add similar tests to pg_visibility, which already
accepted TOAST tables correctly but had no test coverage for them.
Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>
Discussion: https://www.postgresql.org/message-id/flat/27c4496a-02b9-dc87-8f6f-bddbef54e0fe@2ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ee0202d552791f14bc407ce299628ce8d50eebe3
Modified Files
--------------
contrib/pg_visibility/expected/pg_visibility.out | 17 ++++++++++++++--
contrib/pg_visibility/sql/pg_visibility.sql | 7 +++++--
contrib/pgstattuple/expected/pgstattuple.out | 25 +++++++++++++++++++++---
contrib/pgstattuple/pgstatapprox.c | 10 +++++-----
contrib/pgstattuple/sql/pgstattuple.sql | 5 +++++
5 files changed, 52 insertions(+), 12 deletions(-)
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: peter@eisentraut.org
Subject: Re: pgsql: pgstattuple: Have pgstattuple_approx accept TOAST tables
In-Reply-To: <E1jq2xV-0003F0-Io@gemulon.postgresql.org>
References: <E1jq2xV-0003F0-Io@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