pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove unused totalrows parameter in compute_expr_stats
Date: Thu, 26 Dec 2024 21:52:38 +0000
Message-ID: <E1tQvmY-001Uvv-2l@gemulon.postgresql.org> (raw)

Remove unused totalrows parameter in compute_expr_stats

The totalrows parameter in compute_expr_stats is unused, so remove it.
This is a static function, so the parameter can easily be added again if
it's ever needed.

Author: Ilia Evdokimov <ilya.evdokimov@tantorlabs.ru>
Discussion: https://postgr.es/m/667b92d2-f953-4fcb-9377-3765f5b94187@tantorlabs.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/61cac71c23686f47c785dc69d3c15cb4304d106f

Modified Files
--------------
src/backend/statistics/extended_stats.c | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)



Message-ID: <E1tQvmY-001Uvv-2l@gemulon.postgresql.org>
Permalink:  ../E1tQvmY-001Uvv-2l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tQvmY-001Uvv-2l@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: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove unused totalrows parameter in compute_expr_stats
  In-Reply-To: <E1tQvmY-001Uvv-2l@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