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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bb4142fb68cfab35b7c5f8db7645196c50662631
Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 40 ++++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c | 18 +++++++++++-
contrib/postgres_fdw/sql/postgres_fdw.sql | 10 +++++++
3 files changed, 67 insertions(+), 1 deletion(-)