]> git.ipfire.org Git - thirdparty/postgresql.git/commit
postgres_fdw: Mark statistics import helpers as static
authorFujii Masao <fujii@postgresql.org>
Fri, 10 Jul 2026 11:36:36 +0000 (20:36 +0900)
committerFujii Masao <fujii@postgresql.org>
Fri, 10 Jul 2026 11:37:38 +0000 (20:37 +0900)
commit2bbec7c49a6c872fdfdddf7ff9ea9dc9cebaef40
treedec1ef581d95bc38dc4faced81525c6dda18a02a
parent5b5e99047ab0df2ef3d18de81176558e49015205
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.fujii@gmail.com>
Reviewed-by: Etsuro Fujita <etsuro.fujita@gmail.com>
Discussion: https://postgr.es/m/CAHGQGwGjcQ4SwHMUQ9P8UYQ7iLKL1QE3uLSdONToQ1MrzpUUoQ@mail.gmail.com
Backpatch-through: 19
contrib/postgres_fdw/postgres_fdw.c
src/backend/statistics/attribute_stats.c
src/backend/statistics/relation_stats.c