The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/14/sql-analyze.html
Description:
Foreign tables are analyzed only when explicitly selected.
Nothing wrong just maybe my newness to PG. I don't understand what
"selected" means here:
1. When I select the table in a query
2. When I run the analyze command with the FDW table as a parameter
3. Or something else
Also, I am not clear if analyze is run on FDW tables when Automvacuum runs;
does it run analyze on FDW tables by default.
Thanks,
Leon