pgsql: Remove unused totalrows parameter in compute_expr_stats

From: David Rowley <drowley(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove unused totalrows parameter in compute_expr_stats
Date: 2024-12-26 21:52:38
Message-ID: E1tQvmY-001Uvv-2l@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)evdokimov(at)tantorlabs(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-12-27 04:41:24 pgsql: Improve handling of date_trunc() units for infinite input values
Previous Message Peter Eisentraut 2024-12-26 10:14:43 pgsql: plpgsql: Rename a variable for clarity