| From: | Etsuro Fujita <efujita(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Further cleanup related to statistics import support in postgres |
| Date: | 2026-08-25 08:51:55 |
| Message-ID: | E1wymss-000000022GL-1qAK@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Further cleanup related to statistics import support in postgres_fdw.
* Reorder the conditions in an if-else block for efficiency.
* Reorder struct definitions for readability.
* Reorder arguments for some functions for consistency.
* Move variables to the required scope.
* Rename a variable to match an input argument.
* Add/Tweak some comments/docs for clarity.
Author: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Reviewed-by: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAPmGK14otpa7XZyBO5GxDABUK9OPWFLsAwoQP3ugNdXq%3DK4J1g%40mail.gmail.com
Backpatch-through: 19
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5c52858ecdc052b2a9fc2a7f30e338ec6777c4ae
Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 136 +++++++++++++++++++-----------------
doc/src/sgml/fdwhandler.sgml | 2 +-
src/backend/commands/analyze.c | 5 ++
3 files changed, 76 insertions(+), 67 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2026-08-25 11:12:52 | pgsql: Fix crash on trying to expand a shared memory hash table |
| Previous Message | Daniel Gustafsson | 2026-08-25 08:42:26 | pgsql: pgcrypto: Consistent spelling of built-in |