Re: [PG19][PATCH] Make postgres_fdw statistics import atomic

From: Nikolay Samokhvalov <nik(at)postgres(dot)ai>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, etsuro(dot)fujita(at)gmail(dot)com, ashutosh(dot)bapat(dot)oss(at)gmail(dot)com
Subject: Re: [PG19][PATCH] Make postgres_fdw statistics import atomic
Date: 2026-09-16 23:24:26
Message-ID: CAM527d-RjPceP1FuPVG1dBnoeAtRVF8NzVPaFaQKVMFYiAT0jg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thanks Corey. Shouldn't an empty fallback preserve the old
pg_statistic rows, as analyze normally does? Here a={11}, b={21}
becomes a={111}, b=NULL; deleting the processed rows would not restore
the old state. Nik

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-09-16 23:50:34 Re: Support for 8-byte TOAST values, round two
Previous Message Alexander Korotkov 2026-09-16 23:06:39 Re: Reject WAIT FOR earlier in transaction-snapshot mode