diff options
author | Richard Guo <rguo@postgresql.org> | 2025-01-07 11:24:14 +0900 |
---|---|---|
committer | Richard Guo <rguo@postgresql.org> | 2025-01-07 11:24:14 +0900 |
commit | 2f8b4007dbbac5aa9605414974c802e415176df4 (patch) | |
tree | 3c2d8b150d58937004c8e20510d06ec6afdc8913 /src/backend/tcop/postgres.c | |
parent | c758119e5bfb47b38cf957f9a5a37ceae96fa9b3 (diff) | |
download | postgresql-2f8b4007dbbac5aa9605414974c802e415176df4.tar.gz postgresql-2f8b4007dbbac5aa9605414974c802e415176df4.zip |
Remove unused parameter in lookup_var_attr_stats
The parameter 'rel' in lookup_var_attr_stats was once used to draw an
ERROR when ANALYZE failed to acquire sufficient data to build extended
statistics. bf2a691e0 changed the logic to raise a WARNING in the
caller instead. As a result, this parameter is no longer needed and
can be removed. Since this is a static function, we can always easily
reintroduce the parameter if it's ever needed in the future.
Author: Ilia Evdokimov
Reviewed-by: FabrÃzio de Royes Mello
Discussion: https://postgr.es/m/b3880f22-5808-4206-88d4-1553a81c3440@tantorlabs.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions