]> 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:36:36 +0000 (20:36 +0900)
commit701f021b680ec33a799022d31b574fbcd618a40f
tree5b7975a10e6244f0f0edc24bc7ec47249e5b7e7b
parentdfce19c2300ab00a8c41386e49dfdd6a3c8edae9
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