pgsql: Remove unused totalrows parameter in compute_expr_stats - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Remove unused totalrows parameter in compute_expr_stats
Date
Msg-id E1tQvmY-001Uvv-2l@gemulon.postgresql.org
Whole thread Raw
List 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.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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: plpgsql: Rename a variable for clarity
Next
From: Michael Paquier
Date:
Subject: pgsql: Improve handling of date_trunc() units for infinite input values