Re: Statistics Import and Export - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Statistics Import and Export
Date
Msg-id df3e1c41-4e6c-40ad-9636-98deefe488cd@iki.fi
Whole thread Raw
In response to Re: Statistics Import and Export  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Statistics Import and Export
List pgsql-hackers
On 23/10/2024 01:27, Jeff Davis wrote:
>> I've taken most of Jeff's work, reincorporated it into roughly the
>> same patch structure as before, and am posting it now.
> 
> I committed 0001-0004 with significant revision.

This just caught my eye:

postgres=# select pg_set_attribute_stats('foo', 'xmin', false, 1);
  pg_set_attribute_stats
------------------------

(1 row)

We should probably not allow that, because you cannot ANALYZE system 
columns:

postgres=# analyze foo (xmin);
ERROR:  column "xmin" of relation "foo" does not exist

-- 
Heikki Linnakangas
Neon (https://neon.tech)




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: doc: pgevent.dll location
Next
From: Robert Haas
Date:
Subject: Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE