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 <[email protected]>
Co-authored-by: Chao Li <[email protected]>
Co-authored-by: Etsuro Fujita <[email protected]>
Discussion: https://postgr.es/m/6ED81190-B398-44C9-A1E9-8EFE4ED183AF%40gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0021794f4c5778348418fc2f5658f3b3cb2f2e86

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(-)

Reply via email to