pgsql: postgres_fdw: Mark statistics import helpers as static

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Mark statistics import helpers as static
Date: 2026-07-10 11:37:56
Message-ID: E1wi9YK-000RMZ-14@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

postgres_fdw: Mark statistics import helpers as static

The set_*_arg helper functions in postgres_fdw.c are declared
static, but their definitions omitted the static keyword. Add it to
make their file-local scope explicit and keep the declarations and
definitions consistent.

Also fix a couple of nearby comment typos.

This is a followup to commit 54cd6fc8317.

Author: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Reviewed-by: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAHGQGwGjcQ4SwHMUQ9P8UYQ7iLKL1QE3uLSdONToQ1MrzpUUoQ@mail.gmail.com
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/701f021b680ec33a799022d31b574fbcd618a40f

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 12 ++++++------
src/backend/statistics/attribute_stats.c | 2 +-
src/backend/statistics/relation_stats.c | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-07-10 11:38:09 pgsql: postgres_fdw: Mark statistics import helpers as static
Previous Message Peter Eisentraut 2026-07-10 08:20:52 pgsql: Forbid FOR PORTION OF on views with INSTEAD OF triggers