Re: Import Statistics in postgres_fdw before resorting to sampling.

2025-08-14 Thread Corey Huinker
> > > This isn't a full review. I looked at the patches mainly to find out > how does it fit into the current method of analysing a foreign table. > Any degree of review is welcome. We're chasing views, reviews, etc. > Right now, do_analyze_rel() is called with FDW specific acquireFunc, > which

Re: Import Statistics in postgres_fdw before resorting to sampling.

2025-08-14 Thread Ashutosh Bapat
On Tue, Aug 12, 2025 at 10:33 PM Corey Huinker wrote: > > > Attached is my current work on adding remote fetching of statistics to > postgres_fdw, and opening the possibility of doing so to other foreign data > wrappers. > > This involves adding two new options to postgres_fdw at the server and

Import Statistics in postgres_fdw before resorting to sampling.

2025-08-12 Thread Corey Huinker
Attached is my current work on adding remote fetching of statistics to postgres_fdw, and opening the possibility of doing so to other foreign data wrappers. This involves adding two new options to postgres_fdw at the server and table level. The first option, fetch_stats, defaults to true at both