From: | Ilia Evdokimov <ilya(dot)evdokimov(at)tantorlabs(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Remove unused rel parameter in lookup_var_attr_stats |
Date: | 2025-01-03 14:09:02 |
Message-ID: | b3880f22-5808-4206-88d4-1553a81c3440@tantorlabs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi hackers,
I've attached a small patch that remove unused parameter 'rel' from
the static function lookup_var_attr_stats() in extended_stats.c
While exploring src/backend/statistics, I noticed that there are several
other parameters which appear to be unused. However, since the
discussion around import/export statistics [1] attribute_stats.c is
still ongoing and many functions from other files are non-static, those
parameters may yet prove useful. Therefore, I'm only removing the
parameter from this static function.
Any thoughts?
--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC.
Attachment | Content-Type | Size |
---|---|---|
v1-0001-Remove-unused-rel-parameter-in-lookup_var_attr_stats.patch | text/x-patch | 2.3 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Sabino Mullane | 2025-01-03 14:15:30 | Re: Vacuum statistics |
Previous Message | Ilia Evdokimov | 2025-01-03 13:45:21 | Re: Define STATS_MIN_ROWS for minimum rows of stats in ANALYZE |