]> git.ipfire.org Git - thirdparty/postgresql.git/commit
postgres_fdw: Report ANALYZE to pgstats after importing statistics.
authorEtsuro Fujita <efujita@postgresql.org>
Tue, 7 Jul 2026 09:40:00 +0000 (18:40 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Tue, 7 Jul 2026 09:40:00 +0000 (18:40 +0900)
commit0021794f4c5778348418fc2f5658f3b3cb2f2e86
tree34860a7df0113d6c44e0e969686ec81def16b88c
parent7f0998f87b08e325ab65b1355464a1430042b9aa
postgres_fdw: Report ANALYZE to pgstats after importing statistics.

Commit 28972b6fc should have done this, but didn't.

While at it, remove an extra blank line in fetch_remote_statistics()
introduced by that commit.

Reported-by: Chao Li <lic@highgo.com>
Co-authored-by: Chao Li <lic@highgo.com>
Co-authored-by: Etsuro Fujita <etsuro.fujita@gmail.com>
Discussion: https://postgr.es/m/6ED81190-B398-44C9-A1E9-8EFE4ED183AF%40gmail.com
Backpatch-through: 19
contrib/postgres_fdw/expected/postgres_fdw.out
contrib/postgres_fdw/postgres_fdw.c
contrib/postgres_fdw/sql/postgres_fdw.sql