Re: Extended Statistics set/restore/clear functions. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Extended Statistics set/restore/clear functions.
Date
Msg-id aSKwW00LiORNNoxC@paquier.xyz
Whole thread Raw
In response to Re: Extended Statistics set/restore/clear functions.  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On Sat, Nov 22, 2025 at 03:26:19AM -0500, Corey Huinker wrote:
> I'm open to it, but there was significant pushback to having tight validity
> checks on other stats types.

Yeah, I am not sure that there is much value in having strict checks
for the values.  Some control over the arguments listed in a single
object is much more valuable as these are easy to check in the input
functions.

> The more things that we make errors, the more chances we have to breaking a
> dump/restore. Granted, such values should never happen, but odd things do
> happen.

Indeed.  Like the existing import functions, these should not lead to
hard failures, but WARNING-level reports.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: sunil s
Date:
Subject: Re: Unnecessary delay in streaming replication due to replay lag
Next
From: Corey Huinker
Date:
Subject: Re: Import Statistics in postgres_fdw before resorting to sampling.