Re: Statistics Import and Export

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Statistics Import and Export
Date: 2025-02-06 03:51:07
Message-ID: CADkLM=e-PPgGec-yiM-DV9bThMF-xjWAgJLpO+fR0HcMG3VXNQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Jan 25, 2025 at 10:02 AM Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
wrote:

> Fixed. Holding off on posting updated patch pending decision on what's the
>>> best thing to do with partitioned indexes.
>>
>>
> Though I was able to get it to work multiple ways, the one that seems to
> make the most sense given Michael and Jeff's feedback is to handle
> partitioned indexes, do the ACL checks against the underlying table just
> like indexes, but take a ShareUpdateExclusiveLock on the partitioned index
> as well, because it doesn't have the same special case
> in check_inplace_rel_lock() that regular indexes do.
>
> In the future, if check_inplace_rel_lock() changes its special case to
> include partitioned indexes, then this code can get marginal simpler.
>
> New patchset, no changes to 0002 as work continues there.
>

Thought I sent this to the list, but apparently I only sent to Michael. The
changes referenced are in v45, already posted to the list.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2025-02-06 04:01:13 Re: Statistics Import and Export
Previous Message Michael Paquier 2025-02-06 03:35:28 Re: Show WAL write and fsync stats in pg_stat_io