Re: Incremental View Maintenance, take 2 - Mailing list pgsql-hackers

From Alexandre Felipe
Subject Re: Incremental View Maintenance, take 2
Date
Msg-id CAE8JnxNXaxqFVxne3rBTx4zRZN_nY7bZzWSqNkT69O-cehkDdw@mail.gmail.com
Whole thread
In response to Re: Incremental View Maintenance, take 2  (Alexandre Felipe <o.alexandre.felipe@gmail.com>)
Responses Re: Incremental View Maintenance, take 2
List pgsql-hackers
Sorry, 
the previous line missed the removal of the function declared but not used.

Regards,
Alexandre

On Mon, Feb 16, 2026 at 4:07 PM Alexandre Felipe <o.alexandre.felipe@gmail.com> wrote:
There was a warning on my initial rebase, so I fixed that.

I also changed the bitmap set to a list, I don't think we need O(1) lookup here as suggested by Zhang [1] on patch 6.

Yugo,
I think there is an issue in
src/backend/commands/matview.c, IVM_immediate_maintenance, line 1688, when apply_delta fails, and PG_RE_THROW is called, wouldn't we have to cleanup? As in line 1699 onwards?



Regards,
Alexandre

On Thu, Feb 12, 2026 at 6:08 PM Alexandre Felipe <o.alexandre.felipe@gmail.com> wrote:
Sorry for creating a new thread for this.
I don't have the original email.

This is my attempt on rebasing 
https://commitfest.postgresql.org/patch/4337/

Regards,
Alexandre
Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Small improvements to substring()
Next
From: Tom Lane
Date:
Subject: Re: generating function default settings from pg_proc.dat